This commit is contained in:
Christopher Jeffrey 2016-02-19 21:17:05 -08:00
parent 509ed09603
commit 032db24c41
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;
}; };