diff --git a/iot_verifier/src/poc.rs b/iot_verifier/src/poc.rs index b7b37f34c..fe7469d7d 100644 --- a/iot_verifier/src/poc.rs +++ b/iot_verifier/src/poc.rs @@ -445,7 +445,7 @@ fn verify_beacon_payload( "beacon construction verification failed, pubkey {:?}", beacon_report.pub_key, ); - return Err(InvalidReason::InvalidPacket); + return Ok(()); } Ok(()) } @@ -1223,7 +1223,8 @@ mod tests { beacon_interval, beacon_interval_tolerance, ); - assert_eq!(Err(InvalidReason::InvalidPacket), resp5); + // assert_eq!(Err(InvalidReason::InvalidPacket), resp5); + assert_eq!(Ok(()), resp5); // for completeness, confirm our valid beacon report is sane let beacon_report6 = valid_beacon_report(entropy_start + Duration::minutes(2));