diff --git a/chain/sync.go b/chain/sync.go index e4a8bfb6b2c..906841f5210 100644 --- a/chain/sync.go +++ b/chain/sync.go @@ -676,6 +676,10 @@ func blockSanityChecks(h *types.BlockHeader) error { return xerrors.Errorf("block had nil bls aggregate signature") } + if h.Miner.Protocol() != address.ID { + return xerrors.Errorf("block had non-ID miner address") + } + return nil }