From 8b286b5e8c684de1e8cd4924631f6acbacdd5140 Mon Sep 17 00:00:00 2001 From: Daniel Ternyak Date: Thu, 14 Sep 2017 15:22:07 -0700 Subject: [PATCH] Remove isBroadcasting from top-level wallet state (#190) isBroadcasting is kept at the BroadcastTransactionStatus level, with a different state for each transaction. --- common/reducers/wallet.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/reducers/wallet.js b/common/reducers/wallet.js index 2ba14684..092bf411 100644 --- a/common/reducers/wallet.js +++ b/common/reducers/wallet.js @@ -25,7 +25,6 @@ export const INITIAL_STATE: State = { inst: null, balance: null, tokens: {}, - isBroadcasting: false, transactions: [] }; @@ -118,7 +117,6 @@ export function wallet( case 'WALLET_BROADCAST_TX_REQUESTED': return { ...state, - isBroadcasting: true, transactions: handleBroadcastTxRequested(state, action.payload.signedTx) }; case 'WALLET_BROADCAST_TX_SUCCEEDED':