Skip to content

Commit

Permalink
downgrade to warn (aptos-labs#14331)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielxiangzl authored Aug 19, 2024
1 parent 35d00b7 commit 5508143
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion consensus/src/rand/rand_gen/rand_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,13 @@ impl<S: TShare, D: TAugmentedData> RandManager<S, D> {
.remote_peer(*aug_data.author()));
match self.aug_data_store.add_aug_data(aug_data) {
Ok(sig) => self.process_response(protocol, response_sender, RandMessage::AugDataSignature(sig)),
Err(e) => warn!("[RandManager] Failed to add aug data: {}", e),
Err(e) => {
if e.to_string().contains("[AugDataStore] equivocate data") {
warn!("[RandManager] Failed to add aug data: {}", e);
} else {
error!("[RandManager] Failed to add aug data: {}", e);
}
},
}
}
RandMessage::CertifiedAugData(certified_aug_data) => {
Expand Down

0 comments on commit 5508143

Please sign in to comment.