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); }; /**