Skip to content

Commit 907f694

Browse files
committed
remove unused variable
1 parent e3946e0 commit 907f694

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

examples/vrf/src/handlers/arbiter.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,9 @@ use tracing::{debug, info, warn};
1919

2020
pub struct Arbiter<E: Clock + Spawner, C: Scheme> {
2121
context: E,
22-
2322
dkg_frequency: Duration,
2423
dkg_phase_timeout: Duration,
25-
2624
contributors: Vec<C::PublicKey>,
27-
t: u32,
2825
}
2926

3027
/// Implementation of a "trusted arbiter" that tracks commitments,
@@ -35,17 +32,13 @@ impl<E: Clock + Spawner, C: Scheme> Arbiter<E, C> {
3532
dkg_frequency: Duration,
3633
dkg_phase_timeout: Duration,
3734
mut contributors: Vec<C::PublicKey>,
38-
t: u32,
3935
) -> Self {
4036
contributors.sort();
4137
Self {
4238
context,
43-
4439
dkg_frequency,
4540
dkg_phase_timeout,
46-
4741
contributors,
48-
t,
4942
}
5043
}
5144

examples/vrf/src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,6 @@ fn main() {
304304
DKG_FREQUENCY,
305305
DKG_PHASE_TIMEOUT,
306306
contributors,
307-
threshold,
308307
);
309308
arbiter.start(arbiter_sender, arbiter_receiver);
310309
}

0 commit comments

Comments
 (0)