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

Fix bug #338

parent 8fc7fd55
Branches feature/backend
Tags
No related merge requests found
...@@ -231,7 +231,7 @@ class Wallet(QObject): ...@@ -231,7 +231,7 @@ class Wallet(QObject):
req_args={'number': blockid.number}) req_args={'number': blockid.number})
except ValueError as e: except ValueError as e:
if '404' in str(e): if '404' in str(e):
return (False, "Could not send transfer with null blockchain") return False, "Could not send transfer with null blockchain"
time = block['medianTime'] time = block['medianTime']
txid = len(block['transactions']) txid = len(block['transactions'])
......
...@@ -88,6 +88,7 @@ class ProcessAddCommunity(unittest.TestCase, QuamashTest): ...@@ -88,6 +88,7 @@ class ProcessAddCommunity(unittest.TestCase, QuamashTest):
self.assertEqual(self.application.current_account.name, "test") self.assertEqual(self.application.current_account.name, "test")
self.assertEqual(self.application.preferences['account'], "test") self.assertEqual(self.application.preferences['account'], "test")
self.assertEqual(len(self.application.current_account.wallets), 1) self.assertEqual(len(self.application.current_account.wallets), 1)
yield from asyncio.sleep(0)
self.lp.call_later(10, close_dialog) self.lp.call_later(10, close_dialog)
asyncio.async(exec_test()) asyncio.async(exec_test())
......
...@@ -57,7 +57,7 @@ bma_membership_john = { ...@@ -57,7 +57,7 @@ bma_membership_john = {
[ [
{ {
"version": "1", "version": 1,
"currency": "test_currency", "currency": "test_currency",
"membership": "IN", "membership": "IN",
"blockNumber": 0, "blockNumber": 0,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment