network-bridge: downgrade log level of benefit rep change (#3068)

* network-bridge: downgrade log level of benefit rep change

* remove it as we log it at higher level
This commit is contained in:
Andronik Ordian authored and GitHub committed 2021-05-21 19:16:20 -05:00
1 parent e8652e73db
commit 44d02faa62
2 files changed
+17 -4

No files matched your search

@@ -55,6 +55,17 @@ impl UnifiedReputationChange {
}
}
/// Whether the reputation change is for good behavior.
pub const fn is_benefit(&self) -> bool {
match self {
Self::BenefitMajorFirst(_) |
Self::BenefitMajor(_) |
Self::BenefitMinorFirst(_) |
Self::BenefitMinor(_) => true,
_ => false,
}
}
/// Convert into a base reputation as used with substrate.
pub const fn into_base_rep(self) -> ReputationChange {
ReputationChange::new(