Skip to content

Account does not have public and private key information #178

@cppfuns

Description

@cppfuns

When creating an existing account through new_account, it will go restored,
But at this time, the account object is returned, there is no public or private key information.

// eosio.token has been created before
eosio_token = new_account(eosio, "eosio.token")
INFO(eosio_token .active()) // Output empty information

if is_in_globals(account_object_name, globals):

if is_in_globals(account_object_name, globals):
       logger.INFO('''
           ######## Account object ``{}`` restored from the blockchain.
           '''.format(account_object_name)) 
       return globals[account_object_name]       

I think it is the information that I lost my account when I resumed. I hope I can recover it all.

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