diff --git a/lib/bcoin/tx.js b/lib/bcoin/tx.js index 2780da3b..07dfbf64 100644 --- a/lib/bcoin/tx.js +++ b/lib/bcoin/tx.js @@ -1401,7 +1401,7 @@ TX.prototype.testOutputs = function testOutputs(addressTable, index, collect) { return outputs; }; -TX.prototype.avoidFeeSnipping = function avoidFeeSnipping(height) { +TX.prototype.avoidFeeSniping = function avoidFeeSniping(height) { if (height == null) { if (!this.chain) return; diff --git a/lib/bcoin/wallet.js b/lib/bcoin/wallet.js index d6d12faf..d826ac0e 100644 --- a/lib/bcoin/wallet.js +++ b/lib/bcoin/wallet.js @@ -572,7 +572,7 @@ Wallet.prototype.createTX = function createTX(outputs, options) { if (target.value > 0) tx.setLocktime(target.value); else - tx.avoidFeeSnipping(); + tx.avoidFeeSniping(); return tx; };