diff --git a/controllers/api.js b/controllers/api.js index 37159f94..3309a6e4 100644 --- a/controllers/api.js +++ b/controllers/api.js @@ -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');