Update content/_code-samples/use-tickets/py/use-tickets-multisig.py

Co-authored-by: Jackson Mills <aim4math@gmail.com>
This commit is contained in:
Wo Jake
2023-01-31 18:01:38 +08:00
committed by GitHub
parent 3a5b961c2e
commit 5072a4d425

View File

@@ -126,7 +126,7 @@ print(f"\n Account Set tx result: {result['engine_result']}"
if result['engine_result'] == "tesSUCCESS": if result['engine_result'] == "tesSUCCESS":
print("Multi-sig transaction using a Ticket was successful!") print("Multi-sig transaction using a Ticket was successful!")
elif result == "terPRE_TICKET": elif result == "terPRE_TICKET":
print("The provided Ticket Sequence does not exist in the ledger") print(f"The provided Ticket Sequence {ticket_sequence} does not exist in the ledger")
elif result == "tefMAX_LEDGER": elif result == "tefMAX_LEDGER":
print("Transaction failed to achieve consensus") print("Transaction failed to achieve consensus")
elif result == "tefPAST_SEQ": elif result == "tefPAST_SEQ":