Skip to content

Commit 18127ce

Browse files
authored
Merge pull request #498 from EspressoSystems/li/use-committee-id
Use committee id from contract
2 parents 0fb4353 + f6d1eb4 commit 18127ce

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

timeboost/src/binaries/timeboost.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ use tracing::info;
1717

1818
use clap::Parser;
1919
use timeboost::config::{CERTIFIER_PORT_OFFSET, DECRYPTER_PORT_OFFSET, NodeConfig};
20-
use timeboost::types::UNKNOWN_COMMITTEE_ID;
2120
use timeboost_utils::types::logging;
2221
use tracing::warn;
2322

@@ -134,7 +133,7 @@ async fn main() -> Result<()> {
134133

135134
let sailfish_committee = {
136135
let c = Committee::new(
137-
UNKNOWN_COMMITTEE_ID,
136+
cli.committee_id,
138137
sailfish_peer_hosts_and_keys
139138
.iter()
140139
.enumerate()
@@ -145,7 +144,7 @@ async fn main() -> Result<()> {
145144

146145
let decrypt_committee = {
147146
let c = Committee::new(
148-
UNKNOWN_COMMITTEE_ID,
147+
cli.committee_id,
149148
decrypt_peer_hosts_and_keys
150149
.iter()
151150
.enumerate()
@@ -156,7 +155,7 @@ async fn main() -> Result<()> {
156155

157156
let certifier_committee = {
158157
let c = Committee::new(
159-
UNKNOWN_COMMITTEE_ID,
158+
cli.committee_id,
160159
certifier_peer_hosts_and_keys
161160
.iter()
162161
.enumerate()

0 commit comments

Comments
 (0)