Skip to content

upgrade account bug fixed - #99

Closed
srpatel19590 wants to merge 1 commit into
developfrom
feature/GRPH-78
Closed

srpatel19590 wants to merge 1 commit into
developfrom
feature/GRPH-78

Conversation

@srpatel19590

Copy link
Copy Markdown

Bug Description

while setting up the private testnet, facing an issue in creating a new account. Here are the steps to reproduce.

import_balance nathan ["5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3"] true
upgrade_account nathan true
register_account alice1 TEST5Bunx7rebMctpGXB8KguCn7AS5FcY3uYqMwoguW9jpYrJLeBQw TEST5Bunx7rebMctpGXB8KguCn7AS5FcY3uYqMwoguW9jpYrJLeBQw nathan nathan 0 true```

The register_account call is failing due to nathan membership was not updated to lifetime membership.

By restarting the cli_wallet it worked fine.

@oxarbitrage

Copy link
Copy Markdown

This is the same as 3362d60

Is not a bug in the upgrade_account, it is a bug in get_account using a cache that needs to be removed.

@srpatel19590

Copy link
Copy Markdown
Author

@oxarbitrage Yes, It was a bug in get_account and triggered when upgrade_account called

@oxarbitrage

Copy link
Copy Markdown

This was replaced by #98 - closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants