Skip to content

Commit

Permalink
#230 fix problem with transfer eth to himself (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
sinev-valentine authored Dec 23, 2021
1 parent 5a5b916 commit 20718b7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions proxy/common_neon/transaction_sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 20718b7

Please sign in to comment.