From 55abaa0b9a459d9b599e0dfc32d21d70b1258761 Mon Sep 17 00:00:00 2001
From: Inso <insomniak.fr@gmail.com>
Date: Wed, 16 Sep 2015 19:26:28 +0200
Subject: [PATCH] Fix bug #120

---
 src/cutecoin/core/txhistory.py            | 2 +-
 src/cutecoin/core/txhistory_indexation.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cutecoin/core/txhistory.py b/src/cutecoin/core/txhistory.py
index 67c65e95..1b0eeecd 100644
--- a/src/cutecoin/core/txhistory.py
+++ b/src/cutecoin/core/txhistory.py
@@ -260,7 +260,7 @@ class TxHistory():
                 parsed_block += 1
 
             if current_block['number'] > self.latest_block:
-                self.available_sources = yield from self.wallet.future_sources(community)
+                self.available_sources = yield from self.wallet.sources(community)
                 if self._stop_coroutines:
                     return
                 self.latest_block = current_block['number']
diff --git a/src/cutecoin/core/txhistory_indexation.py b/src/cutecoin/core/txhistory_indexation.py
index d608a0ee..7e6aaf02 100644
--- a/src/cutecoin/core/txhistory_indexation.py
+++ b/src/cutecoin/core/txhistory_indexation.py
@@ -239,7 +239,7 @@ class TxHistory():
             parsed_block += 100
 
         if current_block['number'] > self.latest_block:
-            self.available_sources = yield from self.wallet.future_sources(community)
+            self.available_sources = yield from self.wallet.sources(community)
             if self._stop_coroutines:
                 return
             self.latest_block = current_block['number']
-- 
GitLab