Skip to content

Commit

Permalink
eth: formatted error nit (ethereum#25499)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbuchwald authored and HanWang233 committed Sep 11, 2022
1 parent 1269cb0 commit 8548126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -586,5 +586,5 @@ func (api *DebugAPI) GetAccessibleState(from, to rpc.BlockNumber) (uint64, error
return uint64(i), nil
}
}
return 0, fmt.Errorf("no state found")
return 0, errors.New("no state found")
}

0 comments on commit 8548126

Please sign in to comment.