Added a log message fro good block mined.

This commit is contained in:
Revertron
2021-04-27 19:07:31 +02:00
parent e7c2814971
commit a01cbf14db
+1
View File
@@ -282,6 +282,7 @@ impl Miner {
error!("To mine genesis block you need to make 'origin' an empty string in config.");
}
} else {
info!("Mined good block!");
if block.index == 1 {
context.settings.origin = block.hash.to_string();
}