wallet: fix txrecord.
This commit is contained in:
parent
b2ef630341
commit
854cdf1367
@ -588,7 +588,7 @@ TXRecord.prototype.unsetBlock = function unsetBlock() {
|
|||||||
TXRecord.prototype.getBlock = function getBlock() {
|
TXRecord.prototype.getBlock = function getBlock() {
|
||||||
if (this.height === -1)
|
if (this.height === -1)
|
||||||
return;
|
return;
|
||||||
return new BlockMeta(this.hash, this.height, this.ts);
|
return new BlockMeta(this.block, this.height, this.ts);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user