Make block uses compressed bytes of LogBloom (missing file)
@@ -779,7 +779,7 @@ func (m *manager) newBlockFromHeaderReader(r io.Reader) (module.Block, error) {
timestamp: header.Timestamp,
proposer: newAddress(header.Proposer),
prevID: header.PrevID,
- logBloom: txresult.NewLogBloom(header.LogBloom),
+ logBloom: txresult.NewLogBloomFromCompressed(header.LogBloom),
result: header.Result,
patchTransactions: patches,
normalTransactions: normalTxs,
@@ -854,7 +854,7 @@ func (m *manager) newBlockFromReader(r io.Reader) (module.Block, error) {
timestamp: blockFormat.Timestamp,
proposer: newAddress(blockFormat.Proposer),
prevID: blockFormat.PrevID,
- logBloom: txresult.NewLogBloom(blockFormat.LogBloom),
+ logBloom: txresult.NewLogBloomFromCompressed(blockFormat.LogBloom),
result: blockFormat.Result,
patchTransactions: patches,
normalTransactions: normalTxs,
