Skip to content
Snippets Groups Projects
Commit 1f25b74d authored by inso's avatar inso
Browse files

Fix issue #516

parent 4ea34851
No related branches found
No related tags found
No related merge requests found
...@@ -190,6 +190,7 @@ class Wallet(QObject): ...@@ -190,6 +190,7 @@ class Wallet(QObject):
amount, amount_base = reduce_base(amount, 0) amount, amount_base = reduce_base(amount, 0)
cache = self.caches[community.currency] cache = self.caches[community.currency]
if cache.available_sources:
current_base = max([src['base'] for src in cache.available_sources]) current_base = max([src['base'] for src in cache.available_sources])
value = 0 value = 0
sources = [] sources = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment