Skip to content

Commit

Permalink
Merge branch 'umbracle:main' into structdecode
Browse files Browse the repository at this point in the history
  • Loading branch information
rpuntaie authored Jan 13, 2025
2 parents 9985dad + 92266b0 commit c89c28f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jsonrpc/transport/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ func (h *HTTP) Call(method string, out interface{}, params ...interface{}) error
return err
}
request.Params = data
} else {
request.Params = []byte{'[', ']'}
}
raw, err := json.Marshal(request)
if err != nil {
Expand Down

0 comments on commit c89c28f

Please sign in to comment.