We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abb1bfd commit 21ca8cfCopy full SHA for 21ca8cf
rpc/stream/rpc.go
@@ -165,7 +165,7 @@ func (s *RPCStream) start(
165
// TODO: After indexer improvement, we should get eth header event from indexer
166
// Currently, many fields are missing or incorrect (e.g. bloom, receiptsRoot, ...)
167
header := types.EthHeaderFromComet(data.Block.Header, ethtypes.Bloom{}, baseFee)
168
- s.headerStream.Add(RPCHeader{EthHeader: header, Hash: common.BytesToHash(data.Block.Header.Hash())})
+ s.headerStream.Add(RPCHeader{EthHeader: header, Hash: common.BytesToHash(data.BlockID.Hash)})
169
170
case ev, ok := <-chLogs:
171
if !ok {
0 commit comments