Update api.js
support for solofee and finders reward
This commit is contained in:
@@ -395,7 +395,8 @@ function collectStats () {
|
||||
cnVariant: config.cnVariant || 0,
|
||||
cnBlobType: config.cnBlobType || 0,
|
||||
hashrateWindow: config.api.hashrateWindow,
|
||||
fee: config.blockUnlocker.poolFee,
|
||||
fee: config.blockUnlocker.poolFee || 0,
|
||||
soloFee: config.blockUnlocker.soloFee >= 0 ? config.blockUnlocker.soloFee : (config.blockUnlocker.poolFee > 0 ? config.blockUnlocker.poolFee : 0),
|
||||
networkFee: config.blockUnlocker.networkFee || 0,
|
||||
coin: config.coin,
|
||||
coinUnits: config.coinUnits,
|
||||
@@ -403,6 +404,7 @@ function collectStats () {
|
||||
coinDifficultyTarget: config.coinDifficultyTarget,
|
||||
symbol: config.symbol,
|
||||
depth: config.blockUnlocker.depth,
|
||||
finderReward: config.blockUnlocker.finderReward || 0,
|
||||
donation: donations,
|
||||
version: version,
|
||||
paymentsInterval: config.payments.interval,
|
||||
|
||||
Reference in New Issue
Block a user