networks: name e variable in loop
This commit is contained in:
parent
1079bf95c1
commit
fc8dd65c0e
1 changed files with 2 additions and 2 deletions
|
@ -128,8 +128,8 @@ function estimateFee (tx, network) {
|
|||
var fee = baseFee * Math.ceil(byteSize / 1000)
|
||||
if (network.dustSoftThreshold === undefined) return fee
|
||||
|
||||
tx.outs.forEach(function (e) {
|
||||
if (e.value < network.dustSoftThreshold) {
|
||||
tx.outs.forEach(function (output) {
|
||||
if (output.value < network.dustSoftThreshold) {
|
||||
fee += baseFee
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue