From 499350b6e65e93ba43a6ccf67633eb719c916ecf Mon Sep 17 00:00:00 2001 From: ht <22350747@qq.com> Date: Sat, 16 Apr 2022 18:18:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/tx.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/client/tx.go b/client/tx.go index 1f3a646..e0f0ff5 100644 --- a/client/tx.go +++ b/client/tx.go @@ -22,13 +22,11 @@ func (base baseClient) QueryTx(hash string) (sdk.ResultQueryTx, error) { } res, err := base.Tx(context.Background(), tx, true) - if err != nil { return sdk.ResultQueryTx{}, err } resBlocks, err := base.getResultBlocks([]*ctypes.ResultTx{res}) - if err != nil { return sdk.ResultQueryTx{}, err }