We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1079bf9 commit fc8dd65Copy full SHA for fc8dd65
src/networks.js
@@ -128,8 +128,8 @@ function estimateFee (tx, network) {
128
var fee = baseFee * Math.ceil(byteSize / 1000)
129
if (network.dustSoftThreshold === undefined) return fee
130
131
- tx.outs.forEach(function (e) {
132
- if (e.value < network.dustSoftThreshold) {
+ tx.outs.forEach(function (output) {
+ if (output.value < network.dustSoftThreshold) {
133
fee += baseFee
134
}
135
})
0 commit comments