disable avoid fee sniping for now.
This commit is contained in:
parent
8b156d246e
commit
5a24103f62
@ -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))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user