Merge pull request #1227 from Gambaard/patch-2

Update prepare-payment.py
This commit is contained in:
Rome Reginelli
2021-11-09 15:12:58 -08:00
committed by GitHub

View File

@@ -35,7 +35,7 @@ print(my_tx_payment)
# Sign the transaction # Sign the transaction
from xrpl.transaction import safe_sign_and_autofill_transaction from xrpl.transaction import safe_sign_and_autofill_transaction
my_tx_payment_signed = safe_sign_and_autofill_transaction(my_tx_payment,test_wallet, client) my_tx_payment_signed = safe_sign_and_autofill_transaction(my_tx_payment, test_wallet, client)
# Print signed tx # Print signed tx
print("Signed tx:", my_tx_payment_signed) print("Signed tx:", my_tx_payment_signed)
@@ -46,4 +46,4 @@ from xrpl.transaction import send_reliable_submission
tx_response = send_reliable_submission(my_tx_payment_signed, client) tx_response = send_reliable_submission(my_tx_payment_signed, client)
# Print tx response # Print tx response
print("Tx response:", tx_response) print("Tx response:", tx_response)