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

Request BlockUID throught network

parent b4cdb4d3
No related branches found
No related tags found
No related merge requests found
......@@ -342,7 +342,7 @@ class Transfer(QObject):
self.sha_hash = txdoc.sha_hash
responses = await community.bma_access.broadcast(bma.tx.Process,
post_args={'transaction': txdoc.signed_raw()})
blockUID = await community.blockUID()
blockUID = community.network.current_blockUID
block = await community.bma_access.future_request(bma.blockchain.Block,
req_args={'number': blockUID.number})
signed_raw = "{0}{1}\n".format(block['raw'], block['signature'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment