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

Fix broken tests

parent 14d98e6f
No related branches found
No related tags found
No related merge requests found
...@@ -439,7 +439,7 @@ class Account(QObject): ...@@ -439,7 +439,7 @@ class Account(QObject):
selfcert = yield from identity.selfcert(community) selfcert = yield from identity.selfcert(community)
certification = Certification(PROTOCOL_VERSION, community.currency, certification = Certification(PROTOCOL_VERSION, community.currency,
self.pubkey, pubkey, self.pubkey, pubkey,
blockid['number'], blockid['hash'], None) blockid.number, blockid.sha_hash, None)
key = SigningKey(self.salt, password) key = SigningKey(self.salt, password)
certification.sign(selfcert, [key]) certification.sign(selfcert, [key])
......
...@@ -217,9 +217,8 @@ class Wallet(QObject): ...@@ -217,9 +217,8 @@ class Wallet(QObject):
:param str message: The message to send with the transfer :param str message: The message to send with the transfer
""" """
blockid = yield from community.blockid() blockid = yield from community.blockid()
block_number = blockid['number']
block = yield from community.bma_access.future_request(bma.blockchain.Block, block = yield from community.bma_access.future_request(bma.blockchain.Block,
req_args={'number': block_number}) req_args={'number': blockid.number})
time = block['medianTime'] time = block['medianTime']
txid = len(block['transactions']) txid = len(block['transactions'])
key = None key = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment