Skip to content

Commit 8e8eb99

Browse files
HaddadJoeAustEcon
authored andcommitted
[Add] return tx_id at the end of the transaction
1 parent db304cd commit 8e8eb99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bitsv/network/services/network.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,5 +163,5 @@ def broadcast_tx(self, tx_hex): # pragma: no cover
163163
:raises ConnectionError: If all API services fail.
164164
"""
165165
call_list = [api.send_transaction for api in self.list_of_apis]
166-
self.invoke_api_call(call_list, tx_hex)
167-
return
166+
tx_id = self.invoke_api_call(call_list, tx_hex)
167+
return tx_id

0 commit comments

Comments
 (0)