Skip to content

Commit

Permalink
Remove unused RPC error (#1237)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshklop authored Sep 15, 2023
1 parent 7a816ed commit b20cea1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rpc/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ type Gateway interface {
}

var (
ErrNoTraceAvailable = &jsonrpc.Error{Code: 10, Message: "No trace available for transaction"}
ErrContractNotFound = &jsonrpc.Error{Code: 20, Message: "Contract not found"}
ErrBlockNotFound = &jsonrpc.Error{Code: 24, Message: "Block not found"}
ErrInvalidTxHash = &jsonrpc.Error{Code: 25, Message: "Invalid transaction hash"}
Expand Down

0 comments on commit b20cea1

Please sign in to comment.