Skip to content

Commit

Permalink
[Add] return tx_id at the end of the transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
HaddadJoe authored and AustEcon committed Oct 11, 2020
1 parent db304cd commit 8e8eb99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bitsv/network/services/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,5 @@ def broadcast_tx(self, tx_hex): # pragma: no cover
:raises ConnectionError: If all API services fail.
"""
call_list = [api.send_transaction for api in self.list_of_apis]
self.invoke_api_call(call_list, tx_hex)
return
tx_id = self.invoke_api_call(call_list, tx_hex)
return tx_id

0 comments on commit 8e8eb99

Please sign in to comment.