Skip to content

Commit

Permalink
comment out unneeded check
Browse files Browse the repository at this point in the history
  • Loading branch information
prettyirrelevant committed Aug 31, 2023
1 parent e27e393 commit 6c34cce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions backend/bridgebloc/apps/conversions/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,10 @@ def _validate_tx_receipt( # pylint: disable=too-many-locals
if polygon_zkevm_bridge_event['destinationNetwork'] != destination_chain.to_lxly_domain():
raise serializers.ValidationError('lxly domain from event and serializer mismatch for destination chain')

if self.context['request'].user.address != to_checksum_address(polygon_zkevm_bridge_event['from']):
raise serializers.ValidationError(
f'{polygon_zkevm_bridge_event["from"]} does not match the authenticated user',
)
# if self.context['request'].user.address != to_checksum_address(polygon_zkevm_bridge_event['from']):
# raise serializers.ValidationError(
# f'{polygon_zkevm_bridge_event["from"]} does not match the authenticated user',
# )

try:
source_token = Token.objects.get(
Expand Down

0 comments on commit 6c34cce

Please sign in to comment.