From 3df0fec8e2d06eae3dcd443ea97504274970aa33 Mon Sep 17 00:00:00 2001 From: Sina Mahmoodi Date: Wed, 20 Sep 2023 17:12:24 +0200 Subject: [PATCH] rename return to returnData --- internal/ethapi/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index cc3f7d09ad..afcbce8a2e 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -1214,7 +1214,7 @@ type blockResult struct { } type callResult struct { - ReturnValue hexutil.Bytes `json:"return"` + ReturnValue hexutil.Bytes `json:"returnData"` Logs []*types.Log `json:"logs"` GasUsed hexutil.Uint64 `json:"gasUsed"` Status hexutil.Uint64 `json:"status"`