From 5a24103f6282e53823122955e7ca52c338087499 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Fri, 8 Apr 2016 16:37:04 -0700 Subject: [PATCH] disable avoid fee sniping for now. --- lib/bcoin/wallet.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/bcoin/wallet.js b/lib/bcoin/wallet.js index 67825017..960b0871 100644 --- a/lib/bcoin/wallet.js +++ b/lib/bcoin/wallet.js @@ -612,10 +612,10 @@ Wallet.prototype.createTX = function createTX(options, outputs, callback) { // Set the locktime to target value or // `height - whatever` to avoid fee sniping. - if (options.locktime != null) - tx.setLocktime(options.locktime); - else - tx.avoidFeeSniping(); + // if (options.locktime != null) + // tx.setLocktime(options.locktime); + // else + // tx.avoidFeeSniping(); // Sign the transaction if (!self.sign(tx))