From bb63c5d1640a759fccb5a36f6960635629cbe3e5 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Mon, 20 Jun 2016 17:42:26 -0700 Subject: [PATCH] use estimateFee for createTX. --- lib/bcoin/wallet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bcoin/wallet.js b/lib/bcoin/wallet.js index f027a7d1..c4b94120 100644 --- a/lib/bcoin/wallet.js +++ b/lib/bcoin/wallet.js @@ -573,7 +573,7 @@ Wallet.prototype.fill = function fill(tx, options, callback) { height: self.network.height, rate: options.rate != null ? options.rate - : self.network.getRate(), + : self.network.fees.estimateFee(), wallet: self, m: self.m, n: self.n