Update configReader.js
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user