parser: include block time in compact encodings

This commit is contained in:
George Tankersley 2018-12-17 18:46:50 -05:00
parent 09007ad856
commit 7d7390eeae
2 changed files with 7 additions and 7 deletions

View File

@ -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