Skip to content

Commit

Permalink
Move comment around
Browse files Browse the repository at this point in the history
  • Loading branch information
HCastano committed Aug 15, 2024
1 parent 61610c2 commit 326ee16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/test-cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,12 @@ pub async fn run_command(
)
.await?;

// The CLI currently doesn't support sending multiple registration requests in a single
// go, so we just grab one event (presumably the only one) and log that.
if registrations.is_empty() {
panic!("Failed to register an account!")
}

// The CLI currently doesn't support sending multiple registration requests in a single
// go, so we just grab one event (presumably the only one) and log that.
let (verifying_key, registered_info) = &registrations[0];

Ok(format!("Verifying key: {},\n{:?}", hex::encode(verifying_key), registered_info))
Expand Down

0 comments on commit 326ee16

Please sign in to comment.