Skip to content

Commit

Permalink
Fix check tx request
Browse files Browse the repository at this point in the history
  • Loading branch information
devfans committed Nov 30, 2021
1 parent 251eb05 commit aee86a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chains/bridge/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type CheckTxResponse struct {
}
}

func (c *Client) CheckTx(req map[string]*CheckTxRequest) (res *CheckTxResponse, err error) {
func (c *Client) CheckTx(req *CheckTxRequest) (res *CheckTxResponse, err error) {
res = new(CheckTxResponse)
err = tools.PostJsonFor(c.address+"/transactionofhash", req, res)
if err != nil {
Expand Down

0 comments on commit aee86a8

Please sign in to comment.