From 6af18df2f7cb741cb35d0e64a4957ee9f5fb438b Mon Sep 17 00:00:00 2001 From: cc-cybertino Date: Mon, 27 Sep 2021 15:42:15 +0800 Subject: [PATCH] fix type --- go.mod | 4 ++-- response.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 0a30134..ebc3211 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/nanmu42/etherscan-api +module github.com/cc-cybertino/etherscan-api -go 1.13 +go 1.17 diff --git a/response.go b/response.go index b1338d3..2fe26d7 100644 --- a/response.go +++ b/response.go @@ -30,7 +30,7 @@ type NormalTx struct { BlockNumber int `json:"blockNumber,string"` TimeStamp Time `json:"timeStamp"` Hash string `json:"hash"` - Nonce int `json:"nonce,string"` + Nonce string `json:"nonce"` BlockHash string `json:"blockHash"` TransactionIndex int `json:"transactionIndex,string"` From string `json:"from"`