mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-19 19:25:51 +00:00
Apply suggestions from code review
Co-authored-by: Jackson Mills <aim4math@gmail.com>
This commit is contained in:
@@ -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!"
|
||||
|
||||
@@ -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")
|
||||
|
||||
send_transaction(tx_blob)
|
||||
else:
|
||||
send_transaction(tx_blob)
|
||||
|
||||
Reference in New Issue
Block a user