store: Fix block_parent_ptr assuming sequential block numbers
Look up the parent block's actual number instead of computing `current_number - 1`, which is incorrect for blockchains with gaps in block numbers (e.g., NEAR).
D
David Lutterkort committed
9bf36c700b2fa2515217c7f5798a77acbf0f1172
Parent: ac28b4d