Skip to content

ui: Fix wallet disable/enable targeting wrong wallet.#3586

Merged
JoeGruffins merged 1 commit into
decred:masterfrom
JoeGruffins:disablebase
Mar 31, 2026
Merged

ui: Fix wallet disable/enable targeting wrong wallet.#3586
JoeGruffins merged 1 commit into
decred:masterfrom
JoeGruffins:disablebase

Conversation

@JoeGruffins
Copy link
Copy Markdown
Member

When ETH and Base are grouped under the same ticker, selectedWalletID was set once to ETH by setSelectedTicker and never updated when operating on Base via network actions or settings. This caused toggleWalletStatus to target the wrong wallet - e.g. enabling ETH instead of disabling Base.

Set selectedWalletID in showReconfig so the disable/enable buttons in settings target the wallet being configured. Also always set selectedWalletID in showNetworkActions when showing the Enable action, not just for the token-disabled case.

When ETH and Base are grouped under the same ticker,
selectedWalletID was set once to ETH by setSelectedTicker and
never updated when operating on Base via network actions or
settings. This caused toggleWalletStatus to target the wrong
wallet - e.g. enabling ETH instead of disabling Base.

Set selectedWalletID in showReconfig so the disable/enable
buttons in settings target the wallet being configured. Also
always set selectedWalletID in showNetworkActions when showing
the Enable action, not just for the token-disabled case.
@JoeGruffins JoeGruffins merged commit fc63460 into decred:master Mar 31, 2026
5 checks passed
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.

1 participant