wallet: fix txrecord.

This commit is contained in:
Christopher Jeffrey 2016-12-14 12:17:53 -08:00
parent b2ef630341
commit 854cdf1367
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

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