diff --git a/learning-examples/manual_buy.py b/learning-examples/manual_buy.py index 55ccc7e..22e3bdd 100644 --- a/learning-examples/manual_buy.py +++ b/learning-examples/manual_buy.py @@ -18,7 +18,7 @@ from solders.keypair import Keypair from solders.message import Message from solders.pubkey import Pubkey from solders.transaction import Transaction, VersionedTransaction -from spl.token.instructions import get_associated_token_address +from spl.token.instructions import create_idempotent_associated_token_account, get_associated_token_address # Here and later all the discriminators are precalculated. See learning-examples/calculate_discriminator.py EXPECTED_DISCRIMINATOR = struct.pack("