diff --git a/public/main/client/subscriptions/no-core.js b/public/main/client/subscriptions/no-core.js index f827a615..9c3bc6a6 100644 --- a/public/main/client/subscriptions/no-core.js +++ b/public/main/client/subscriptions/no-core.js @@ -11,6 +11,7 @@ const listeners = { 'handle-client-error': handlers.handleClientSideError, 'get-pool-address': handlers.getPoolAddress, 'reveal-secret-phrase': handlers.revealSecretPhrase, + 'restart-wallet': handlers.restartWallet, 'has-stored-secret-phrase': handlers.hasStoredSecretPhrase, "logout": handlers.logout, "save-proxy-router-settings": handlers.saveProxyRouterSettings, diff --git a/src/client/index.js b/src/client/index.js index 60af2faa..6ccf694e 100644 --- a/src/client/index.js +++ b/src/client/index.js @@ -147,6 +147,7 @@ const createClient = function(createStore) { getPoolAddress: utils.forwardToMainProcess('get-pool-address'), revealSecretPhrase: utils.forwardToMainProcess('reveal-secret-phrase'), getPrivateKey: utils.forwardToMainProcess('get-private-key'), + restartWallet: utils.forwardToMainProcess('restart-wallet'), hasStoredSecretPhrase: utils.forwardToMainProcess( 'has-stored-secret-phrase' ),