From fc8dd65c0e5e87b963a0d849ec807b5377065506 Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Mon, 16 Mar 2015 11:03:19 +1100 Subject: [PATCH] networks: name e variable in loop --- src/networks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/networks.js b/src/networks.js index d4ba24e..0836840 100644 --- a/src/networks.js +++ b/src/networks.js @@ -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 } })