diff --git a/test/e2e/testnet/test_helpers.go b/test/e2e/testnet/test_helpers.go index d507c17fc5..a3de3cf4c3 100644 --- a/test/e2e/testnet/test_helpers.go +++ b/test/e2e/testnet/test_helpers.go @@ -1,7 +1,6 @@ package testnet import ( - "fmt" "log" ) @@ -10,13 +9,3 @@ func NoError(message string, err error) { log.Fatalf("%s: %v", message, err) } } - -type JSONRPCError struct { - Code int - Message string - Data string -} - -func (e *JSONRPCError) Error() string { - return fmt.Sprintf("JSONRPC Error - Code: %d, Message: %s, Data: %s", e.Code, e.Message, e.Data) -}