Node/EVM: Celo not setting timestamp in blocks (#3603)

This commit is contained in:
bruce-riley 2023-12-14 12:16:32 -06:00 committed by GitHub
parent bfd4ba40ef
commit ef408a9f71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -173,16 +173,19 @@ func (c *CeloConnector) SubscribeForBlocks(ctx context.Context, errC chan error,
sink <- &NewBlock{
Number: ev.Number,
Hash: hash,
Time: ev.Time,
Finality: Finalized,
}
sink <- &NewBlock{
Number: ev.Number,
Hash: hash,
Time: ev.Time,
Finality: Safe,
}
sink <- &NewBlock{
Number: ev.Number,
Hash: hash,
Time: ev.Time,
Finality: Latest,
}
}