Fix Stuck Node on Metamask Logout (#1951)

This commit is contained in:
William O'Beirne 2018-06-14 12:22:41 -04:00 committed by Daniel Ternyak
parent a3fe8db5cf
commit 88ba6b7d23

View File

@ -148,6 +148,12 @@ export function* handleChangeNodeRequested({
// Bail out if they're switching to the same node
if (currentConfig.id === nodeIdToSwitchTo) {
yield put(
changeNodeSucceeded({
nodeId: currentConfig.id,
networkId: currentConfig.network
})
);
return;
}