From b20cea187a4ed24c0964ecc65da367877f4e6640 Mon Sep 17 00:00:00 2001 From: Josh Klopfenstein Date: Fri, 15 Sep 2023 09:21:25 -0500 Subject: [PATCH] Remove unused RPC error (#1237) --- rpc/handlers.go | 1 - 1 file changed, 1 deletion(-) diff --git a/rpc/handlers.go b/rpc/handlers.go index 786ed56e2b..64c14d4fe3 100644 --- a/rpc/handlers.go +++ b/rpc/handlers.go @@ -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"}