Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Fix a bug where outgoing transactions made during reindex didn't show…
Browse files Browse the repository at this point in the history
… up in the list.
  • Loading branch information
sproxet committed Oct 8, 2019
1 parent 7b07e5e commit 21575f8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/store/modules/Transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,12 @@ const actions = {

handleTransactionEvent({commit, rootGetters}, transactionEvent: TransactionEvent) {
logger.info('handleTransactionEvent');
const isReindexing = rootGetters['ApiStatus/isReindexing'];
commit('setWalletState', {isReindexing, initialStateWallet: {addresses: transactionEvent}});
commit('setWalletState', {isReindexing: false, initialStateWallet: {addresses: transactionEvent}});
},

handleAddressEvent({commit, rootGetters}, addressEvent: AddressEvent) {
logger.info('handleAddressEvent');
const isReindexing = rootGetters['ApiStatus/isReindexing'];
commit('setWalletState', {isReindexing, initialStateWallet: addressEvent})
commit('setWalletState', {isReindexing: false, initialStateWallet: addressEvent})
}
};

Expand Down

0 comments on commit 21575f8

Please sign in to comment.