Skip to content

Drop the "create" reference from the get_or_create() function name #382

@IaroslavMazur

Description

@IaroslavMazur

As discussed here:

"Yes agree that the function name is confusing. What the call does is that it adds address into the account storage (address storage). The create means - generate random account id, if for that account id no address is stored in storage, adds it, if there already is address for that account id, just returns it. The creation here is just empty account creation which is added into the address storage.

But completely agree this is confusing and we need to get rid of it."

Originally posted by @lukacan in #380 (reply in thread)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions