From d478e438b0730f52eb02084f733b8303844bdb59 Mon Sep 17 00:00:00 2001 From: Mark Spanbroek Date: Thu, 17 Oct 2024 16:06:50 +0200 Subject: [PATCH] formatting --- mysticeti/validator.nim | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/mysticeti/validator.nim b/mysticeti/validator.nim index 6e7dedb..57ccb49 100644 --- a/mysticeti/validator.nim +++ b/mysticeti/validator.nim @@ -7,12 +7,11 @@ import ./validator/rounds export slots -type - Validator*[Signing, Hashing] = ref object - identity: Identity[Signing] - committee: Committee[Signing] - membership: CommitteeMember - rounds: Rounds[Hashing] +type Validator*[Signing, Hashing] = ref object + identity: Identity[Signing] + committee: Committee[Signing] + membership: CommitteeMember + rounds: Rounds[Hashing] func new*(T: type Validator; identity: Identity, committee: Committee): ?!T = let round = Round[T.Hashing].new(0, committee.size)