Apply suggestions from code review

Co-authored-by: Jackson Mills <aim4math@gmail.com>
This commit is contained in:
Wo Jake
2022-11-18 15:11:48 +08:00
committed by GitHub
parent ddaf82a478
commit 18355a9591
2 changed files with 5 additions and 4 deletions

View File

@@ -130,7 +130,8 @@ def main():
if ask == 1:
password = str(input(" Enter Password: "))
amount = float(input("\n Enter XRP To Send: "))
destination = input("\n Enter Destination: ")
destination = input("If you just want to try it out, you can use the faucet account rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe"
"\n Enter Destination: ")
wallet_sequence = int(input("Look up the 'Next Sequence' for the account using test.bithomp.com and enter it below!"
"\n Enter Wallet Sequence: "))
ledger_sequence = int(input("Look up the latest ledger sequence on testnet.xrpl.org and enter it below!"

View File

@@ -44,7 +44,7 @@ def send_transaction(transaction_dict):
if __name__ == '__main__':
tx_blob = "ENTER TX BLOB HERE"
if tx_blob is "ENTER TX BLOB HERE":
if tx_blob == "ENTER TX BLOB HERE":
print("Set tx to 'tx_blob' received from scanning the QR code generated by the airgapped wallet")
else:
send_transaction(tx_blob)