Fix atomic swaps
@@ -194,7 +194,6 @@ class AtomicSwapHandler(BasicHandler):
transfer_payload = AccountClient \
.get_transfer_payload(ZERO_ADDRESS, total_amount)
- AccountHandler()._check_signer_address(context, swap_info.sender_address)
token_updated_state = AccountHandler() \
._transfer_from_address(context, swap_info.sender_address,
transfer_payload)
@@ -260,7 +259,6 @@ class AtomicSwapHandler(BasicHandler):
transfer_payload = AccountClient \
.get_transfer_payload(swap_info.sender_address, swap_info.amount)
- AccountHandler()._check_signer_address(context, swap_info.sender_address)
token_updated_state = AccountHandler() \
._transfer_from_address(context, ZERO_ADDRESS, transfer_payload)
@@ -307,7 +305,6 @@ class AtomicSwapHandler(BasicHandler):
transfer_payload = AccountClient \
.get_transfer_payload(swap_info.receiver_address, swap_info.amount)
- AccountHandler()._check_signer_address(context, swap_info.sender_address)
token_updated_state = AccountHandler() \
._transfer_from_address(context, ZERO_ADDRESS, transfer_payload)
swap_info.secret_key = swap_close_payload.secret_key
