From 93d969ce86fba9b86ef19e23502984e65c64bab6 Mon Sep 17 00:00:00 2001 From: zhaoweijie Date: Thu, 5 Dec 2024 18:06:56 +0800 Subject: [PATCH] feat: change ClientResponse.result struct --- client/dto.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/dto.go b/client/dto.go index 28416c9..c54559a 100644 --- a/client/dto.go +++ b/client/dto.go @@ -11,7 +11,7 @@ type ClientResponse[T any] struct { NeedSeq bool `json:"needSeq,omitempty"` Seq int `json:"seq,omitempty"` Status string `json:"status,omitempty"` - Result any `json:"result,omitempty"` + Result T `json:"result,omitempty"` IsInsnLimit bool `json:"isInsnLimit,omitempty"` TotalGas int `json:"totalGas,omitempty"` ExecutionGas int `json:"executionGas,omitempty"`