Skip to content

Commit

Permalink
Merge pull request #376 from helium/andymck/log-beacon-construction-fail
Browse files Browse the repository at this point in the history
log pub keys of beacon construction fails
  • Loading branch information
andymck authored Feb 23, 2023
2 parents d471bd1 + c6e2b25 commit 1c2f4ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions iot_verifier/src/poc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,9 @@ fn verify_beacon_payload(

// compare reports
if reported_beacon != generated_beacon {
tracing::debug!(
"beacon verification failed, reason: {:?}",
InvalidReason::InvalidPacket,
tracing::info!(
"beacon construction verification failed, pubkey {:?}",
beacon_report.pub_key,
);
return Err(InvalidReason::InvalidPacket);
}
Expand Down

0 comments on commit 1c2f4ab

Please sign in to comment.