From ed8a46ea7c2bc1e8452b7e27ec588b47538cbc41 Mon Sep 17 00:00:00 2001 From: Juan Cazala Date: Tue, 6 Nov 2018 15:17:58 -0300 Subject: [PATCH] fix: trigger a storage save after fixing a reverted transaction --- src/modules/storage/middleware.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/storage/middleware.ts b/src/modules/storage/middleware.ts index eb291ade..b39b9c3d 100644 --- a/src/modules/storage/middleware.ts +++ b/src/modules/storage/middleware.ts @@ -16,6 +16,7 @@ import { UPDATE_TRANSACTION_STATUS, UPDATE_TRANSACTION_NONCE, REPLACE_TRANSACTION_SUCCESS, + FIX_REVERTED_TRANSACTION, CLEAR_TRANSACTIONS, CLEAR_TRANSACTION } from '../transaction/actions' @@ -55,6 +56,7 @@ export function createStorageMiddleware(options: StorageMiddleware) { UPDATE_TRANSACTION_STATUS, UPDATE_TRANSACTION_NONCE, REPLACE_TRANSACTION_SUCCESS, + FIX_REVERTED_TRANSACTION, CLEAR_TRANSACTIONS, CLEAR_TRANSACTION, ...actions