From 9e48947d2f4ee3f11ec277e5a64ca2edc5e41b51 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Wed, 23 Nov 2016 00:36:57 -0800 Subject: [PATCH] txdb: fix txdb.confirm. --- lib/wallet/txdb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wallet/txdb.js b/lib/wallet/txdb.js index d9e74030..5e2e2920 100644 --- a/lib/wallet/txdb.js +++ b/lib/wallet/txdb.js @@ -1209,7 +1209,7 @@ TXDB.prototype.confirm = co(function* confirm(hash, block) { assert(block); tx.height = block.height; - tx.block = block.block; + tx.block = block.hash; tx.ts = block.ts; this.start();