From 620933cbffa13a01414c85a261e61ffdb83f93b5 Mon Sep 17 00:00:00 2001 From: xuegao Date: Mon, 4 Nov 2024 22:40:36 +0800 Subject: [PATCH] fix utxo bug --- explorer/base/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/explorer/base/client.go b/explorer/base/client.go index b8854ff..f32ab4e 100644 --- a/explorer/base/client.go +++ b/explorer/base/client.go @@ -171,6 +171,7 @@ func (bc *BaseClient) Call(name, module, action, apiUrl string, param map[string err = fmt.Errorf("response status %v %s, response body: %s", res.StatusCode, res.Status, content.String()) return } + // When deserializing, The field names must be consistent if name == "etherscan" { err = bc.HandleEtherscanResponse(action, content.Bytes(), outcome) if err != nil {