mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 10:01:17 +00:00
Adapt code to new sc-telemetry (#362)
This commit is contained in:
@@ -84,7 +84,7 @@ impl BlockAnnounceData {
|
||||
///
|
||||
/// This will not check the signature, for this you should use [`BlockAnnounceData::check_signature`].
|
||||
fn validate(&self, encoded_header: Vec<u8>) -> Result<(), Validation> {
|
||||
let candidate_hash = if let CompactStatement::Candidate(h) = self.statement.payload() {
|
||||
let candidate_hash = if let CompactStatement::Seconded(h) = self.statement.payload() {
|
||||
h
|
||||
} else {
|
||||
tracing::debug!(
|
||||
|
||||
Reference in New Issue
Block a user