Skip to content

Commit 700b490

Browse files
authored
TraceId to string from int
The TraceId returned can potentially contain the string 0_0
1 parent 06e346a commit 700b490

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

response.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ type InternalTx struct {
6060
Type string `json:"type"`
6161
Gas int `json:"gas,string"`
6262
GasUsed int `json:"gasUsed,string"`
63-
TraceID int `json:"traceId,string"`
63+
TraceID string `json:"traceId"`
6464
IsError int `json:"isError,string"`
6565
ErrCode string `json:"errCode"`
6666
}

0 commit comments

Comments
 (0)