fix(cli): reference correct --without-evm flag in init-state error (#20231)

This commit is contained in:
yyhrnk
2025-12-09 23:00:45 +02:00
committed by GitHub
parent 969689d9b6
commit a8e0606fa7

View File

@@ -110,7 +110,7 @@ impl<C: ChainSpecParser<ChainSpec: EthChainSpec + EthereumHardforks>> InitStateC
static_file_provider.commit()?;
} else if last_block_number > 0 && last_block_number < header.number() {
return Err(eyre::eyre!(
"Data directory should be empty when calling init-state with --without-evm-history."
"Data directory should be empty when calling init-state with --without-evm."
));
}
}