Add " Successfully mined block" log message (#6764)

This commit is contained in:
Garrett MacDonald
2020-07-30 21:23:25 +08:00
committed by GitHub
parent 5060324b91
commit 814911f414
@@ -648,6 +648,8 @@ fn mine_loop<B: BlockT, C, Algorithm, E, SO, S, CAW>(
}
};
log::info!("✅ Successfully mined block: {}", best_hash);
let (hash, seal) = {
let seal = DigestItem::Seal(POW_ENGINE_ID, seal);
let mut header = header.clone();