Skip to content

fix not unregistersigner issue when open new wallet after current wallet#976

Closed
superboyiii wants to merge 1 commit intoneo-project:master-n3from
superboyiii:fix-open-wallet
Closed

fix not unregistersigner issue when open new wallet after current wallet#976
superboyiii wants to merge 1 commit intoneo-project:master-n3from
superboyiii:fix-open-wallet

Conversation

@superboyiii
Copy link
Member

@superboyiii superboyiii commented Jan 15, 2026

Close #973

@github-actions github-actions bot added the N3 label Jan 15, 2026
@superboyiii superboyiii changed the title fix default null name scenario in json wallet fix not unregistersigner issue when open new wallet after current wallet Jan 15, 2026
// Note: We do this even if names match, because the signer might be from a different source
try
{
SignerManager.UnregisterSigner(newWallet.Name);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why unregister twice? We only need to unregister before change

@superboyiii
Copy link
Member Author

I will close this. Follow #974

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants