use estimateFee for createTX.
This commit is contained in:
parent
8b262a7ff9
commit
bb63c5d164
@ -573,7 +573,7 @@ Wallet.prototype.fill = function fill(tx, options, callback) {
|
|||||||
height: self.network.height,
|
height: self.network.height,
|
||||||
rate: options.rate != null
|
rate: options.rate != null
|
||||||
? options.rate
|
? options.rate
|
||||||
: self.network.getRate(),
|
: self.network.fees.estimateFee(),
|
||||||
wallet: self,
|
wallet: self,
|
||||||
m: self.m,
|
m: self.m,
|
||||||
n: self.n
|
n: self.n
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user