Skip to content

Make txn responses be returned as values instead of pointers #764

@thiagodeev

Description

@thiagodeev

Some methods like the account.BuildAndSend... methods, and even the original provider endpoints like rpc.AddInvokeTransaction return pointers to the txn responses types (ref).
These structs are small, so they can be returned as values instead of pointers. Let's change every code that returns these types as pointers and make them return values instead.

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomershelp wantedHelp from collaborators will be appreciated

Type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions