Add debug log when gossip block recieved (#1026)

* Add debug! log for processing gossip block

* Fix stray dbg! command
This commit is contained in:
Paul Hauner
2020-04-20 16:16:42 +10:00
committed by GitHub
parent 49c77fe74b
commit 2d3acadfb5
3 changed files with 32 additions and 2 deletions

View File

@@ -304,6 +304,10 @@ impl<T: BeaconChainTypes> GossipVerifiedBlock<T> {
Err(BlockError::ProposalSignatureInvalid)
}
}
pub fn block_root(&self) -> Hash256 {
self.block_root
}
}
impl<T: BeaconChainTypes> IntoFullyVerifiedBlock<T> for GossipVerifiedBlock<T> {