The previous code filled in block height 0 for a missing coinbase height in `SledState::commit_finalized`, since the genesis block is the only block without a coinbase height (because of a mistake when it was created). However, @teor2345 noticed that this is incorrect, because we already parse the genesis block specially and fill in its coinbase height correctly. So instead, we can .expect it to be present, because we can assume that all finalized blocks are valid. |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||