parser: Add PrevHash field to CompactBlocks
This commit is contained in:
parent
ede5e7b7ec
commit
7451d85d15
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue