|
|
@ -158,8 +158,9 @@ export function iguanaActiveHandle(getMainAddress) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
export function iguanaWalletPassphraseState(json, dispatch) { |
|
|
|
export function iguanaWalletPassphraseState(json, dispatch, skipToastr) { |
|
|
|
sessionStorage.setItem('IguanaActiveAccount', JSON.stringify(json)); |
|
|
|
if (!skipToastr) { |
|
|
|
dispatch( |
|
|
|
triggerToaster( |
|
|
|
translate('TOASTR.LOGIN_SUCCESSFULL'), |
|
|
@ -167,6 +168,7 @@ export function iguanaWalletPassphraseState(json, dispatch) { |
|
|
|
'success' |
|
|
|
) |
|
|
|
); |
|
|
|
} |
|
|
|
dispatch(getMainAddressState(json)); |
|
|
|
dispatch(iguanaActiveHandleState(json)); |
|
|
|
|
|
|
|