From 854cdf13671e5efb5a71638885ccd45db11ec5a3 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Wed, 14 Dec 2016 12:17:53 -0800 Subject: [PATCH] wallet: fix txrecord. --- lib/wallet/records.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wallet/records.js b/lib/wallet/records.js index 973a2300..327f36a5 100644 --- a/lib/wallet/records.js +++ b/lib/wallet/records.js @@ -588,7 +588,7 @@ TXRecord.prototype.unsetBlock = function unsetBlock() { TXRecord.prototype.getBlock = function getBlock() { if (this.height === -1) return; - return new BlockMeta(this.hash, this.height, this.ts); + return new BlockMeta(this.block, this.height, this.ts); }; /**