minor fix for wallet.fill.
This commit is contained in:
parent
916fca9c2f
commit
46a5ca7500
@ -399,7 +399,7 @@ Wallet.prototype.fill = function fill(tx, cb) {
|
|||||||
unspent.every(addInput, this);
|
unspent.every(addInput, this);
|
||||||
|
|
||||||
// Add dummy output (for `left`) to calculate maximum TX size
|
// Add dummy output (for `left`) to calculate maximum TX size
|
||||||
tx.out(options.change || this, new bn(0));
|
tx.out(this, new bn(0));
|
||||||
|
|
||||||
// Change fee value if it is more than 1024 bytes
|
// Change fee value if it is more than 1024 bytes
|
||||||
// (10000 satoshi for every 1024 bytes)
|
// (10000 satoshi for every 1024 bytes)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user