typo
This commit is contained in:
parent
509ed09603
commit
032db24c41
@ -1401,7 +1401,7 @@ TX.prototype.testOutputs = function testOutputs(addressTable, index, collect) {
|
|||||||
return outputs;
|
return outputs;
|
||||||
};
|
};
|
||||||
|
|
||||||
TX.prototype.avoidFeeSnipping = function avoidFeeSnipping(height) {
|
TX.prototype.avoidFeeSniping = function avoidFeeSniping(height) {
|
||||||
if (height == null) {
|
if (height == null) {
|
||||||
if (!this.chain)
|
if (!this.chain)
|
||||||
return;
|
return;
|
||||||
|
|||||||
@ -572,7 +572,7 @@ Wallet.prototype.createTX = function createTX(outputs, options) {
|
|||||||
if (target.value > 0)
|
if (target.value > 0)
|
||||||
tx.setLocktime(target.value);
|
tx.setLocktime(target.value);
|
||||||
else
|
else
|
||||||
tx.avoidFeeSnipping();
|
tx.avoidFeeSniping();
|
||||||
|
|
||||||
return tx;
|
return tx;
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user