parser: include block time in compact encodings
This commit is contained in:
parent
09007ad856
commit
7d7390eeae
|
@ -83,7 +83,7 @@ func (b *block) ToCompact() *rpc.CompactBlock {
|
|||
//TODO ProtoVersion: 1,
|
||||
Height: uint64(b.GetHeight()),
|
||||
Hash: b.GetEncodableHash(),
|
||||
//TODO Time: b.hdr.Time,
|
||||
Time: b.hdr.Time,
|
||||
}
|
||||
|
||||
// Only Sapling transactions have a meaningful compact encoding
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue