Skip to content

Commit

Permalink
fix: trigger a storage save after fixing a reverted transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
cazala committed Nov 6, 2018
1 parent 4937a88 commit ed8a46e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/storage/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
UPDATE_TRANSACTION_STATUS,
UPDATE_TRANSACTION_NONCE,
REPLACE_TRANSACTION_SUCCESS,
FIX_REVERTED_TRANSACTION,
CLEAR_TRANSACTIONS,
CLEAR_TRANSACTION
} from '../transaction/actions'
Expand Down Expand Up @@ -55,6 +56,7 @@ export function createStorageMiddleware<T>(options: StorageMiddleware<T>) {
UPDATE_TRANSACTION_STATUS,
UPDATE_TRANSACTION_NONCE,
REPLACE_TRANSACTION_SUCCESS,
FIX_REVERTED_TRANSACTION,
CLEAR_TRANSACTIONS,
CLEAR_TRANSACTION,
...actions
Expand Down

0 comments on commit ed8a46e

Please sign in to comment.