Skip to content

Commit

Permalink
Change err naming
Browse files Browse the repository at this point in the history
  • Loading branch information
0xAleksaOpacic committed Nov 17, 2022
1 parent 9d86272 commit 9b3d0d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relayer/chainproxy/jsonRPC.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (j *JrpcMessage) setMessageResult(result json.RawMessage) {
func convertMsg(rpcMsg *rpcclient.JsonrpcMessage) (*JsonrpcMessage, error) {
// Return an error if the message was not sent
if rpcMsg == nil {
return nil, errFailedToConvertMessage
return nil, ErrFailedToConvertMessage
}

msg := &JsonrpcMessage{
Expand Down

0 comments on commit 9b3d0d6

Please sign in to comment.