Skip to content

Commit

Permalink
Change fallback error
Browse files Browse the repository at this point in the history
  • Loading branch information
trianglesphere authored and protolambda committed Feb 22, 2023
1 parent d475ef4 commit ac78574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ var ErrNoHistoricalFallback = NoHistoricalFallbackError{}

type NoHistoricalFallbackError struct{}

func (e NoHistoricalFallbackError) ErrorCode() int { return -32701 }
func (e NoHistoricalFallbackError) ErrorCode() int { return -32801 }

func (e NoHistoricalFallbackError) Error() string {
return "no historical RPC is available for this historical (pre-bedrock) execution request"
Expand Down

0 comments on commit ac78574

Please sign in to comment.