From 031a28f9558aeceec9c68f20300a5227e5aed148 Mon Sep 17 00:00:00 2001 From: Uxio Fuentefria <6909403+Uxio0@users.noreply.github.com> Date: Wed, 20 Mar 2024 17:15:31 +0100 Subject: [PATCH] Fix typo --- safe_transaction_service/account_abstraction/serializers.py | 2 +- .../account_abstraction/services/aa_processor_service.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/safe_transaction_service/account_abstraction/serializers.py b/safe_transaction_service/account_abstraction/serializers.py index 349c9dc68..27e3700b9 100644 --- a/safe_transaction_service/account_abstraction/serializers.py +++ b/safe_transaction_service/account_abstraction/serializers.py @@ -147,7 +147,7 @@ def validate(self, attrs): safe_signatures = self._validate_signature( safe_address, safe_operation_hash, - safe_operation.get_safe_operation_hash_preimage(chain_id, module_address), + safe_operation.safe_operation_hash_preimage, attrs["signature"], ) if not safe_signatures: diff --git a/safe_transaction_service/account_abstraction/services/aa_processor_service.py b/safe_transaction_service/account_abstraction/services/aa_processor_service.py index 237b525a3..8f73255c2 100644 --- a/safe_transaction_service/account_abstraction/services/aa_processor_service.py +++ b/safe_transaction_service/account_abstraction/services/aa_processor_service.py @@ -123,9 +123,7 @@ def index_safe_operation_confirmations( parsed_signatures = SafeSignature.parse_signature( signature, safe_operation_model.hash, - safe_operation.get_safe_operation_hash_preimage( - self.ethereum_client.get_chain_id(), safe_operation_model.module_address - ), + safe_operation.safe_operation_hash_preimage, ) safe_operation_confirmations = []