From 0aa808462582bfcf2bbb4eeb3a61d0ec3a441287 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Stuczy=C5=84ski?= Date: Fri, 5 Jan 2024 11:02:10 +0000 Subject: [PATCH] cargo fmt --- common/cosmwasm-smart-contracts/coconut-dkg/src/msg.rs | 2 +- common/cosmwasm-smart-contracts/coconut-dkg/src/types.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/cosmwasm-smart-contracts/coconut-dkg/src/msg.rs b/common/cosmwasm-smart-contracts/coconut-dkg/src/msg.rs index 96d5a816c6..01dd85b219 100644 --- a/common/cosmwasm-smart-contracts/coconut-dkg/src/msg.rs +++ b/common/cosmwasm-smart-contracts/coconut-dkg/src/msg.rs @@ -36,7 +36,7 @@ pub struct InstantiateMsg { pub enum ExecuteMsg { // we could have just re-used AdvanceEpochState, but imo an explicit message is better InitiateDkg {}, - + RegisterDealer { bte_key_with_proof: EncodedBTEPublicKeyWithProof, identity_key: IdentityKey, diff --git a/common/cosmwasm-smart-contracts/coconut-dkg/src/types.rs b/common/cosmwasm-smart-contracts/coconut-dkg/src/types.rs index 8a93c439a9..e4d24f82f7 100644 --- a/common/cosmwasm-smart-contracts/coconut-dkg/src/types.rs +++ b/common/cosmwasm-smart-contracts/coconut-dkg/src/types.rs @@ -238,7 +238,7 @@ impl EpochState { pub fn first() -> Self { EpochState::PublicKeySubmission { resharing: false } } - + pub fn next(self) -> Option { match self { EpochState::WaitingInitialisation => None,