wallet: fix adding of tx.
This commit is contained in:
parent
874d725f40
commit
a41d27e828
@ -1435,7 +1435,7 @@ Wallet.prototype._send = co(function* send(options) {
|
||||
|
||||
tx = tx.toTX();
|
||||
|
||||
yield this.addTX(tx);
|
||||
yield this.db.addTX(tx);
|
||||
|
||||
this.logger.debug('Sending wallet tx (%s): %s', this.id, tx.rhash);
|
||||
this.db.emit('send', tx);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user