diff --git a/safe_transaction_service/history/serializers.py b/safe_transaction_service/history/serializers.py index 4bc256e85..375ca9a53 100644 --- a/safe_transaction_service/history/serializers.py +++ b/safe_transaction_service/history/serializers.py @@ -256,12 +256,13 @@ def save(self, **kwargs): and (user := request.user) ): trusted = user.has_perm("history.create_trusted") - try: + + if self.validated_data["sender"] in self.validated_data["safe_owners"]: + proposer = self.validated_data["sender"] + else: proposer = SafeContractDelegate.objects.get( delegate=self.validated_data["sender"] ).delegator - except SafeContractDelegate.DoesNotExist: - proposer = self.validated_data["sender"] multisig_transaction, created = MultisigTransaction.objects.get_or_create( safe_tx_hash=safe_tx_hash,