Files
pezkuwi-subxt/substrate/client
Bastian Köcher 48a84f90b5 Skip slot lenience on first block in BABE (#7515)
The genesis header doesn't have the BABE pre-digest and we insert `0` as
slot number. The slot lenience calculation will return the maximum in
this situation. Besides returning the maximum which is not bad at all,
it also prints some a debug message that can be confusing in the first
moment. To prevent printing this debug message, we now just return early
when we see that the parent block is the genesis block.
2020-11-11 09:57:14 +01:00
..
2020-10-30 15:43:28 +00:00
2020-09-22 19:47:38 +02:00
2020-09-22 19:47:38 +02:00
2020-10-30 15:43:28 +00:00
2020-09-22 19:47:38 +02:00
2020-10-30 15:43:28 +00:00
2020-09-22 19:47:38 +02:00
2020-10-30 15:43:28 +00:00