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),