diff --git a/lib/wallet/wallet.js b/lib/wallet/wallet.js index 951b3811..fb2a75c5 100644 --- a/lib/wallet/wallet.js +++ b/lib/wallet/wallet.js @@ -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);