mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 19:55:54 +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:
|
if ask == 1:
|
||||||
password = str(input(" Enter Password: "))
|
password = str(input(" Enter Password: "))
|
||||||
amount = float(input("\n Enter XRP To Send: "))
|
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!"
|
wallet_sequence = int(input("Look up the 'Next Sequence' for the account using test.bithomp.com and enter it below!"
|
||||||
"\n Enter Wallet Sequence: "))
|
"\n Enter Wallet Sequence: "))
|
||||||
ledger_sequence = int(input("Look up the latest ledger sequence on testnet.xrpl.org and enter it below!"
|
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__':
|
if __name__ == '__main__':
|
||||||
tx_blob = "ENTER TX BLOB HERE"
|
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")
|
print("Set tx to 'tx_blob' received from scanning the QR code generated by the airgapped wallet")
|
||||||
|
else:
|
||||||
send_transaction(tx_blob)
|
send_transaction(tx_blob)
|
||||||
|
|||||||
Reference in New Issue
Block a user