diff --git a/operate/services/manage.py b/operate/services/manage.py index 7c0c92d41..c2637674e 100644 --- a/operate/services/manage.py +++ b/operate/services/manage.py @@ -667,7 +667,7 @@ def _deploy_service_onchain_from_safe( # pylint: disable=too-many-statements,to # print(f"{current_safe_owners=}") approve_message, deploy_message = sftxb.get_deploy_data_from_safe( service_id=chain_data.token, - reuse_multisig=is_update, + reuse_multisig=not is_first_mint, master_safe=sftxb.wallet.safe, ) sftxb.new_tx().add(approve_message).add(deploy_message).settle() diff --git a/operate/services/protocol.py b/operate/services/protocol.py index 6ec16e8b4..1382924e7 100644 --- a/operate/services/protocol.py +++ b/operate/services/protocol.py @@ -1152,7 +1152,6 @@ def get_deploy_data_from_safe( else: raise NotImplementedError - deploy_data = registry_instance.encodeABI( fn_name="deploy", args=[ @@ -1169,7 +1168,6 @@ def get_deploy_data_from_safe( } return [approve_hash_message, deploy_message] - def get_terminate_data(self, service_id: int) -> t.Dict: """Get terminate tx data.""" instance = registry_contracts.service_manager.get_instance(