Update worker.go

pull/541/head
jagdeep sidhu 2020-12-22 08:20:46 -08:00
parent 189e964bbc
commit 70d2886383
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ func (w *Worker) getAuxFee(auxFeeDetails *bchain.AuxFeeDetails, nAmount int64) *
nBoundAmount := fee.Bound
nNextBoundAmount := feeNext.Bound
// max uint16 (65535 = 0.65535 = 65.5535%)
nRate := ((float64)fee.Percent) / 100000.0;
nRate := float64(fee.Percent) / 100000.0;
// case where amount is in between the bounds
if nAmount >= nBoundAmount && nAmount < nNextBoundAmount {
break;