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

Fix potential bug like #247

parent 255f7597
No related branches found
No related tags found
No related merge requests found
...@@ -336,9 +336,9 @@ class Transfer(QObject): ...@@ -336,9 +336,9 @@ class Transfer(QObject):
:param txdoc: A transaction ucoinpy object :param txdoc: A transaction ucoinpy object
:param community: The community target of the transaction :param community: The community target of the transaction
""" """
self.sha_hash = txdoc.sha_hash
responses = yield from community.bma_access.broadcast(bma.tx.Process, responses = yield from community.bma_access.broadcast(bma.tx.Process,
post_args={'transaction': txdoc.signed_raw()}) post_args={'transaction': txdoc.signed_raw()})
self.sha_hash = txdoc.sha_hash
blockid = yield from community.blockid() blockid = yield from community.blockid()
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': blockid.number}) req_args={'number': blockid.number})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment