From a41d27e8281ed8c73ba64a4db17549d1b2de8c69 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 4 Oct 2016 05:32:00 -0700 Subject: [PATCH] wallet: fix adding of tx. --- lib/wallet/wallet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);