From a32f0faf38bdcb4c474166414d3bde21e126bfac Mon Sep 17 00:00:00 2001 From: Szymon Lesisz Date: Thu, 29 Nov 2018 21:09:31 +0100 Subject: [PATCH] enable BlockchainActions.notification --- src/services/TrezorConnectService.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/TrezorConnectService.js b/src/services/TrezorConnectService.js index 397f9e0d..9fea47fe 100644 --- a/src/services/TrezorConnectService.js +++ b/src/services/TrezorConnectService.js @@ -58,9 +58,9 @@ const TrezorConnectService: Middleware = (api: MiddlewareAPI) => (next: Middlewa } else if (action.type === CONNECT.DUPLICATE) { api.dispatch(RouterActions.selectDevice(action.device)); } else if (action.type === BLOCKCHAIN.BLOCK) { - api.dispatch(BlockchainActions.onBlockMined(action.payload.coin)); + api.dispatch(BlockchainActions.onBlockMined(action.payload)); } else if (action.type === BLOCKCHAIN.NOTIFICATION) { - // api.dispatch(BlockchainActions.onNotification(action.payload)); + api.dispatch(BlockchainActions.onNotification(action.payload)); } else if (action.type === BLOCKCHAIN.ERROR) { api.dispatch(BlockchainActions.error(action.payload)); }