parser: Add PrevHash field to CompactBlocks
This commit is contained in:
@@ -91,6 +91,7 @@ func (b *block) ToCompact() *walletrpc.CompactBlock {
|
||||
//TODO ProtoVersion: 1,
|
||||
Height: uint64(b.GetHeight()),
|
||||
Hash: b.GetEncodableHash(),
|
||||
PrevHash: b.hdr.HashPrevBlock,
|
||||
Time: b.hdr.Time,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user