From befb872e3b97c50760d390cf45d320ca24659288 Mon Sep 17 00:00:00 2001 From: Wo Jake <87929946+wojake@users.noreply.github.com> Date: Sun, 4 Sep 2022 16:13:33 +0000 Subject: [PATCH] usage of `send_reliable_submission` Co-authored-by: LimpidCrypto <97235361+LimpidCrypto@users.noreply.github.com> --- .../_code-samples/submit-and-verify/py/submit-and-verify.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/_code-samples/submit-and-verify/py/submit-and-verify.py b/content/_code-samples/submit-and-verify/py/submit-and-verify.py index 4016cec4cd..4279e85ca3 100644 --- a/content/_code-samples/submit-and-verify/py/submit-and-verify.py +++ b/content/_code-samples/submit-and-verify/py/submit-and-verify.py @@ -21,7 +21,9 @@ tx = AccountSet( ) # Sign the transaction locally & submit transaction and verify its validity on the ledger -my_tx_payment_signed = safe_sign_and_submit_transaction(transaction=tx, wallet=wallet_from_seed, client=client) +my_tx_payment_signed = safe_sign_transaction(transaction=tx, wallet=wallet_from_seed) +response = send_reliable_submission(transaction=my_tx_payment_signed, client=client) +result = response.result["engine_result"] my_tx_payment_signed = my_tx_payment_signed.result result = my_tx_payment_signed["engine_result"]