You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// this should be unreachable -- there's no record of this block
2430
-
error!("Could not store block {} ({}) with block hash {} -- no record of its processed status or signing weight!",&block_id,&block.header.consensus_hash,&block_hash);
2431
-
ChainstateError::NoSuchBlockError
2432
-
})?;
2433
-
2434
-
if orphaned {
2435
-
// nothing to do
2436
-
debug!("Will not store alternative copy of block {} ({}) with block hash {}, since a block with the same block hash was orphaned",&block_id,&block.header.consensus_hash,&block_hash);
2437
-
returnOk(false);
2438
-
}
2439
-
2440
-
let ret = if existing_signing_weight < signing_weight {
debug!("Will not store alternative copy of block {} ({}) with block hash {}, since it has less signing power",&block_id,&block.header.consensus_hash,&block_hash);
2452
-
}else{
2453
-
debug!(
2454
-
"Will not store duplicate copy of block {} ({}) with block hash {}",
// this should be unreachable -- there's no record of this block
632
+
error!("Could not store block {block_id} ({consensus_hash}) with block hash {block_hash} -- no record of its processed status or signing weight!");
633
+
ChainstateError::NoSuchBlockError
634
+
})?;
635
+
636
+
if orphaned {
637
+
// nothing to do
638
+
debug!("Will not store alternative copy of block {block_id} ({consensus_hash}) with block hash {block_hash}, since a block with the same block hash was orphaned");
639
+
returnOk(false);
640
+
}
641
+
642
+
let ret = if existing_signing_weight < signing_weight {
0 commit comments