forked from TrueCloudLab/neoneo-go
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 |