mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-24 21:55:52 +00:00
Change classic_address to address xrpl-py
This commit is contained in:
@@ -25,11 +25,11 @@ signer_wallet_1 = generate_faucet_wallet(client, debug=True)
|
||||
signer_wallet_2 = generate_faucet_wallet(client, debug=True)
|
||||
|
||||
signer_entries = [
|
||||
SignerEntry(account=signer_wallet_1.classic_address, signer_weight=1),
|
||||
SignerEntry(account=signer_wallet_2.classic_address, signer_weight=1),
|
||||
SignerEntry(account=signer_wallet_1.address, signer_weight=1),
|
||||
SignerEntry(account=signer_wallet_2.address, signer_weight=1),
|
||||
]
|
||||
signer_list_set_tx = SignerListSet(
|
||||
account=master_wallet.classic_address,
|
||||
account=master_wallet.address,
|
||||
signer_quorum=2,
|
||||
signer_entries=signer_entries,
|
||||
)
|
||||
@@ -45,7 +45,7 @@ print(signed_list_set_tx_response)
|
||||
# Now that we've set up multisigning, let's try using it to submit an AccountSet
|
||||
# transaction.
|
||||
account_set_tx = AccountSet(
|
||||
account=master_wallet.classic_address, domain=str_to_hex("example.com")
|
||||
account=master_wallet.address, domain=str_to_hex("example.com")
|
||||
)
|
||||
autofilled_account_set_tx = autofill(account_set_tx, client, len(signer_entries))
|
||||
print("AccountSet transaction is ready to be multisigned")
|
||||
|
||||
Reference in New Issue
Block a user