diff --git a/proxy/common_neon/transaction_sender.py b/proxy/common_neon/transaction_sender.py index 8831aedb6..c0f53bcc4 100644 --- a/proxy/common_neon/transaction_sender.py +++ b/proxy/common_neon/transaction_sender.py @@ -271,9 +271,10 @@ def create_account_list_by_emulate(self): code_sol = None code_writable = None - elif address == sender_ether: + if address == sender_ether: sender_sol = PublicKey(acc_desc["account"]) - else: + + if address != to_address and address != sender_ether: add_keys_05.append(AccountMeta(pubkey=acc_desc["account"], is_signer=False, is_writable=True)) if acc_desc["new"]: if code_account: