mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 23:25:22 +00:00
33ea179f6e
It can't ever happen. We're guaranteed to have a consistent chain of headers (we're verifying them above, if we're not verifying --- it's not our fault) that starts at HeaderHeight that was actual when we were asking for it previously. HeaderHeight can only move forward, so if that happened that would be filtered out by the condition below and the first one can't happen. Though to be absolutely sure change the second check to only pass "+1" headers (which is what we want). |
||
---|---|---|
.. | ||
compiler | ||
config | ||
consensus | ||
core | ||
crypto | ||
encoding | ||
internal | ||
interop | ||
io | ||
network | ||
rpc | ||
smartcontract | ||
util | ||
vm | ||
wallet |