Skip to content

Commit

Permalink
FIX: default values for fees config
Browse files Browse the repository at this point in the history
  • Loading branch information
Overtorment committed Sep 22, 2021
1 parent 600556f commit e42ef3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit e42ef3a

Please sign in to comment.