FIX: default values for fees config

This commit is contained in:
Overtorment 2021-09-22 14:11:20 +01:00
parent 600556f84c
commit e42ef3a85e
No known key found for this signature in database
GPG Key ID: AB15F43F78CCBC06

View File

@ -17,8 +17,8 @@ redis.monitor(function (err, monitor) {
/****** START SET FEES FROM CONFIG AT STARTUP ******/
/** GLOBALS */
global.forwardFee = config.forwardReserveFee;
global.internalFee = config.intraHubFee;
global.forwardFee = config.forwardReserveFee || 0.01;
global.internalFee = config.intraHubFee || 0.003;
/****** END SET FEES FROM CONFIG AT STARTUP ******/
let bitcoinclient = require('../bitcoin');