Skip to content

Commit fc8dd65

Browse files
committed
networks: name e variable in loop
1 parent 1079bf9 commit fc8dd65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/networks.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ function estimateFee (tx, network) {
128128
var fee = baseFee * Math.ceil(byteSize / 1000)
129129
if (network.dustSoftThreshold === undefined) return fee
130130

131-
tx.outs.forEach(function (e) {
132-
if (e.value < network.dustSoftThreshold) {
131+
tx.outs.forEach(function (output) {
132+
if (output.value < network.dustSoftThreshold) {
133133
fee += baseFee
134134
}
135135
})

0 commit comments

Comments
 (0)