From aee86a8c9ec3c4e9fec7e46a83dabe0c8eba2fd0 Mon Sep 17 00:00:00 2001 From: Stefan Liu Date: Tue, 30 Nov 2021 15:36:13 +0800 Subject: [PATCH] Fix check tx request --- chains/bridge/tx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chains/bridge/tx.go b/chains/bridge/tx.go index 3158344..d8d4b02 100644 --- a/chains/bridge/tx.go +++ b/chains/bridge/tx.go @@ -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 {