mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 00:31:02 +00:00
more logging around pending GRANDPA changes (#1587)
This commit is contained in:
committed by
Gav Wood
parent
f16ddcb622
commit
86c5f78805
@@ -1136,6 +1136,7 @@ impl<B, E, Block: BlockT<Hash=H256>, RA, PRA> BlockImport<Block>
|
||||
|
||||
let is_equal_or_descendent_of = |base: &Block::Hash| -> Result<(), ConsensusError> {
|
||||
let error = || {
|
||||
debug!(target: "afg", "rejecting change: {} is in the same chain as {}", hash, base);
|
||||
Err(ConsensusErrorKind::ClientImport("Incorrect base hash".to_string()).into())
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user