Skip to content

Commit

Permalink
chore!: deletes JSONRPCError from e2e test_helpers (#3602)
Browse files Browse the repository at this point in the history
Closes #3600
  • Loading branch information
staheri14 authored Jun 20, 2024
1 parent 97af2fe commit 1c7590b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions test/e2e/testnet/test_helpers.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package testnet

import (
"fmt"
"log"
)

Expand All @@ -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)
}

0 comments on commit 1c7590b

Please sign in to comment.