diff --git a/content/_code-samples/airgapped-wallet/py/airgapped-wallet.py b/content/_code-samples/airgapped-wallet/py/airgapped-wallet.py index 85e8a14081..f9b8dffef1 100644 --- a/content/_code-samples/airgapped-wallet/py/airgapped-wallet.py +++ b/content/_code-samples/airgapped-wallet/py/airgapped-wallet.py @@ -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!" diff --git a/content/_code-samples/airgapped-wallet/py/relay-transaction.py b/content/_code-samples/airgapped-wallet/py/relay-transaction.py index 828d8539d6..aee5e2165a 100644 --- a/content/_code-samples/airgapped-wallet/py/relay-transaction.py +++ b/content/_code-samples/airgapped-wallet/py/relay-transaction.py @@ -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)