From 519fbaeff2e903d3bc1782d1e488b6ac30a8114b Mon Sep 17 00:00:00 2001
From: Inso <insomniak.fr@gmail.com>
Date: Tue, 13 Oct 2015 08:48:12 +0200
Subject: [PATCH] Send a refresh finished at the end of a rollback

---
 src/cutecoin/core/txhistory.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/cutecoin/core/txhistory.py b/src/cutecoin/core/txhistory.py
index f03aa5bb..d5a1f8d7 100644
--- a/src/cutecoin/core/txhistory.py
+++ b/src/cutecoin/core/txhistory.py
@@ -347,6 +347,7 @@ class TxHistory():
             for transfer in [t for t in self._transfers
                              if t.state == TransferState.VALIDATED]:
                 transfer.run_state_transitions((True, current_block, fork_window))
+            self.wallet.refresh_finished.emit([])
         except NoPeerAvailable:
             logging.debug("No peer available")
 
-- 
GitLab