From 77db409dd8f6ecdf87d57f1620c64f00146ce81a Mon Sep 17 00:00:00 2001 From: Ramiz Siddiqui Date: Mon, 14 Oct 2024 12:09:15 +0200 Subject: [PATCH] fix: move variant --- state-chain/pallets/cf-vaults/src/lib.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/state-chain/pallets/cf-vaults/src/lib.rs b/state-chain/pallets/cf-vaults/src/lib.rs index 7109e828a2..f6cd1bedd8 100644 --- a/state-chain/pallets/cf-vaults/src/lib.rs +++ b/state-chain/pallets/cf-vaults/src/lib.rs @@ -43,15 +43,13 @@ pub type ThresholdSignatureFor = #[scale_info(skip_type_params(T, I))] pub enum VaultActivationStatus, I: 'static = ()> { /// We are waiting for the key to be updated on the contract, and witnessed by the network. - AwaitingActivation { - new_public_key: AggKeyFor, - }, - ActivationFailedAwaitingGovernance { - new_public_key: AggKeyFor, - }, + AwaitingActivation { new_public_key: AggKeyFor }, /// The key has been successfully updated on the external chain, and/or funds rotated to new /// key. Complete, + /// The activation tx has failed to construct. The rotation is now paused and awaiting + /// governance. + ActivationFailedAwaitingGovernance { new_public_key: AggKeyFor }, } #[frame_support::pallet]