1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-30 19:00:53 +00:00

sen payload to EthereumBlockchainActions.onNotification from BlockchainActions

This commit is contained in:
Szymon Lesisz 2018-12-18 22:11:00 +01:00
parent bab5007847
commit 63fb8109cb

View File

@ -90,7 +90,7 @@ export const onNotification = (payload: $ElementType<BlockchainNotification, 'pa
switch (network.type) { switch (network.type) {
case 'ethereum': case 'ethereum':
// this is not working until blockchain-link will start support blockbook backends // this is not working until blockchain-link will start support blockbook backends
await dispatch(EthereumBlockchainActions.onNotification()); await dispatch(EthereumBlockchainActions.onNotification(payload));
break; break;
case 'ripple': case 'ripple':
await dispatch(RippleBlockchainActions.onNotification(payload)); await dispatch(RippleBlockchainActions.onNotification(payload));