cli: fix createtx.

This commit is contained in:
Christopher Jeffrey 2017-08-03 19:15:46 -07:00
parent cfd1715c9f
commit f701af0b74
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -330,7 +330,8 @@ CLI.prototype.createTX = async function createTX() {
passphrase: this.config.str('passphrase'),
outputs: [output],
smart: this.config.bool('smart'),
rate: this.config.amt('rate')
rate: this.config.amt('rate'),
subtractFee: this.config.bool('subtract-fee')
};
const tx = await this.wallet.createTX(options);