Guard against blocks with no predecessor during backwards walk
Guard against blocks with no predecessor during backwards walk

During a reorg there can be the case where a watermark based on a non-existing block predecessor (genesisblock->pprev) is set, which can result in unexpected behavior.

OmniLayer/omnicore,OmniLayer/omnicore,OmniLayer/omnicore,OmniLayer/omnicore,OmniLayer/omnicore,OmniLayer/omnicore