Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
imabdulbasit committed Jun 5, 2024
1 parent cb34d50 commit 7c2c6e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ use hotshot_builder_api::{
data_source::{AcceptsTxnSubmits, BuilderDataSource},
};
use hotshot_types::{
constants::Version01,
data::{DaProposal, Leaf, QuorumProposal},
event::EventType,
message::Proposal,
Expand Down Expand Up @@ -761,9 +760,10 @@ async fn connect_to_events_service<Types: NodeType>(
>,
GeneralStaticCommittee<Types, <Types as NodeType>::SignatureKey>,
)> {
let client = surf_disco::Client::<hotshot_events_service::events::Error, Version01>::new(
hotshot_events_api_url.clone(),
);
let client = surf_disco::Client::<
hotshot_events_service::events::Error,
vbs::version::StaticVersion<0, 1>,
>::new(hotshot_events_api_url.clone());

if !(client.connect(None).await) {
return None;
Expand Down

0 comments on commit 7c2c6e4

Please sign in to comment.