From e0eeb7e4358516127015ca743960ee0eb02335f7 Mon Sep 17 00:00:00 2001 From: jack Date: Sun, 10 Mar 2024 20:00:28 -0400 Subject: [PATCH] reduced amount of sleep in attest --- component/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/component/src/main.rs b/component/src/main.rs index 1822150..480352d 100644 --- a/component/src/main.rs +++ b/component/src/main.rs @@ -112,8 +112,8 @@ fn process_scan(driver: &mut ComponentDriver) -> Result<(), ComponentError> { fn process_attest(driver: &mut ComponentDriver) -> Result<(), ComponentError> { // I think this should make getting rng samples a little harder - // this amount of sleeping leaves a 20 milliseconds extra under 300 for the whole attest process - sleep(Duration::from_millis(70)); + // this amount of sleeping leaves a 20 milliseconds extra under 3 seconds for the whole attest process + sleep(Duration::from_millis(55)); let nonce = driver.gen_nonce(); driver.send_struct(nonce)?;