Remove isBroadcasting from top-level wallet state (#190)

isBroadcasting is kept at the BroadcastTransactionStatus level, with a different state for each transaction.
This commit is contained in:
Daniel Ternyak 2017-09-14 15:22:07 -07:00 committed by GitHub
parent a5f2c5e2e9
commit 8b286b5e8c
1 changed files with 0 additions and 2 deletions

View File

@ -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':