diff --git a/consensus/bor/api.go b/consensus/bor/api.go index 5c3496891f..b7ffebaf66 100644 --- a/consensus/bor/api.go +++ b/consensus/bor/api.go @@ -54,7 +54,7 @@ type BlockSigners struct { // GetSnapshotProposerSequence retrieves the in-turn signers of all sprints in a span func (api *API) GetSnapshotProposerSequence(number *rpc.BlockNumber) (BlockSigners, error) { - + *number -= 1 var difficulties = make(map[common.Address]uint64) snap, err := api.GetSnapshot(number) if err != nil {