holgern/beem

Account.refresh() errors due to hive integration in Beem 22.10 (via Pip)

Closed this issue · 1 comments

using 22.10 from PIP:
This piece of code:

       steem = Steem()
        steem.wallet.unlock(config.APP_CONFIG['walletunlock'])
        #print(steem.wallet.unlocked())

        accountcreator = Account(config.APP_CONFIG['creator'])
        accountcreator.refresh()

leads to following error:

beem.exceptions.AssetDoesNotExistsException: HIVE chain_assets:[{'asset': '@@000000013', 'symbol': 'SBD', 

which is not appearing if not calling Account.refresh()

The following code works for me with beem 22.11

from beem import Steem
from beem.account import Account
steem = Steem()
print(steem.is_hive) # must be true
acc  = Account("holger80", steem_instance=steem)
acc.refresh()

I have set the hive nodes with beempy:

beempy updatenodes --hive

and

beempy config

returns only hive nodes.