mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-02-05 15:53:26 +00:00
Fix Stuck Node on Metamask Logout (#1951)
This commit is contained in:
parent
a3fe8db5cf
commit
88ba6b7d23
@ -148,6 +148,12 @@ export function* handleChangeNodeRequested({
|
|||||||
|
|
||||||
// Bail out if they're switching to the same node
|
// Bail out if they're switching to the same node
|
||||||
if (currentConfig.id === nodeIdToSwitchTo) {
|
if (currentConfig.id === nodeIdToSwitchTo) {
|
||||||
|
yield put(
|
||||||
|
changeNodeSucceeded({
|
||||||
|
nodeId: currentConfig.id,
|
||||||
|
networkId: currentConfig.network
|
||||||
|
})
|
||||||
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user