You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let pebble_hash_chain = PebbleHashChain::from_config(
304
-
&secret,
305
-
&chain_id,
306
-
&provider,
304
+
secret,
305
+
chain_id,
306
+
provider,
307
307
&chain_config.contract_addr,
308
308
&commitment.seed,
309
309
commitment.chain_length,
@@ -321,7 +321,7 @@ async fn setup_chain_state(
321
321
if chain_state.reveal(provider_info.original_commitment_sequence_number)?
322
322
!= provider_info.original_commitment
323
323
{
324
-
returnErr(anyhow!("The root of the generated hash chain for chain id {} does not match the commitment. Are the secret and chain length configured correctly?",&chain_id).into());
324
+
returnErr(anyhow!("The root of the generated hash chain for chain id {} does not match the commitment. Are the secret and chain length configured correctly?",&chain_id));
325
325
}else{
326
326
tracing::info!("Root of chain id {} matches commitment",&chain_id);
0 commit comments