use estimateFee for createTX.

This commit is contained in:
Christopher Jeffrey 2016-06-20 17:42:26 -07:00
parent 8b262a7ff9
commit bb63c5d164
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

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