Update configReader.js

This commit is contained in:
Interchained
2020-10-12 21:28:15 -04:00
committed by GitHub
parent 6f2f2c9434
commit eedd2ea81c

View File

@@ -57,10 +57,12 @@ let donationAddresses = {
global.donations = {};
global.devFee = config.blockUnlocker.devDonation || 0.2;
if (config.blockUnlocker.devDonation === 0)
global.devFee = 0.2;
global.devFee = config.blockUnlocker.devDonation || 0.0;
if (config.blockUnlocker.devDonation === 0){
global.devFee = 0.0;
}
let wallet = donationAddresses[config.symbol.toUpperCase()];
if (devFee && wallet)
if (devFee && wallet){
global.donations[wallet] = devFee;
}