Skip to content

Commit

Permalink
Remove hacked jumpstart from registration flow
Browse files Browse the repository at this point in the history
  • Loading branch information
HCastano committed Aug 14, 2024
1 parent 139c893 commit 61610c2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions crates/client/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,6 @@ pub async fn register(
on_chain: bool,
) -> Result<Vec<([u8; VERIFYING_KEY_LENGTH], RegisteredInfo)>, ClientError> {
let account_registration_events = if on_chain {
// TODO (Nando): We hack the jumpstart for now. Ideally we already have this done by the point
// somebody tries to register
let _ = dbg!(jumpstart_network(api, rpc, signature_request_keypair.clone()).await);
println!("Waiting for network jumpstart");
for _ in 0..30 {
std::thread::sleep(std::time::Duration::from_millis(1000));
}

put_register_request_on_chain(
api,
rpc,
Expand Down

0 comments on commit 61610c2

Please sign in to comment.