Skip to content

Fix create wallet#975

Open
shargon wants to merge 1 commit intoneo-project:masterfrom
shargon:fix-signer-n4
Open

Fix create wallet#975
shargon wants to merge 1 commit intoneo-project:masterfrom
shargon:fix-signer-n4

Conversation

@shargon
Copy link
Member

@shargon shargon commented Jan 15, 2026

Port of #974

@github-actions github-actions bot added the N4 label Jan 15, 2026
}
wallet.Save();

if (CurrentWallet is not null) SignerManager.UnregisterSigner(CurrentWallet.Name);
Copy link
Member

Choose a reason for hiding this comment

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

Does SignerManager's role overlap with IWalletProvider's?

Copy link
Member

Choose a reason for hiding this comment

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

IWalletProvider covers access to the currently active wallet. SignerManager is being used as an ISigner registry to centralize signing (and potentially support other signers beyond wallets). That said I agree an improvement would be to have SignerManager automatically stay in sync by subscribing to IWalletProvider.WalletChanged (e.g. as a follow-up) so we don’t need to manually Register/Unregister in every wallet changing command

@Jim8y
Copy link
Contributor

Jim8y commented Jan 28, 2026

@shargon

@ajara87
Copy link
Member

ajara87 commented Jan 28, 2026

Need #989

@Wi1l-B0t
Copy link
Contributor

Wi1l-B0t commented Feb 2, 2026

UT failed.

@shargon
Copy link
Member Author

shargon commented Feb 2, 2026

UT failed.

master build failed, is not related to this PR

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.

6 participants