From a317a9905ccda5cdb65775b1ece9878529c40c5f Mon Sep 17 00:00:00 2001 From: Artem Zhmaka Date: Fri, 11 Oct 2024 17:06:07 +0200 Subject: [PATCH] Fix naming --- rpc/response.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/response.go b/rpc/response.go index c13db0f..254e1e9 100644 --- a/rpc/response.go +++ b/rpc/response.go @@ -160,7 +160,7 @@ type InfoGetDeployResult struct { rawJSON json.RawMessage } -func (r *InfoGetDeployResult) InfoGetTransactionResult() InfoGetTransactionResult { +func (r *InfoGetDeployResult) ToInfoGetTransactionResult() InfoGetTransactionResult { return InfoGetTransactionResult{ APIVersion: r.ApiVersion, Transaction: types.NewTransactionFromDeploy(r.Deploy),