mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-10 07:08:05 -05:00
darkfid/tests/harness: init an empty fork when generating node
This commit is contained in:
@@ -246,6 +246,8 @@ pub async fn generate_node(
|
||||
|
||||
p2p.start().await?;
|
||||
|
||||
node.validator.consensus.generate_empty_fork().await?;
|
||||
|
||||
if !skip_sync {
|
||||
sync_task(&node, checkpoint).await?;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user