`check_contextual_validity` mistakenly used the new block's hash to try to get the parent block from the state. This caused a panic, because the new block isn't in the state yet. Use `StateService::chain` to get the parent block, because we'll be using `chain` for difficulty adjustment contextual verification anyway. |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||