Skip to content

Commit 567b4a6

Browse files
author
Dev Kalra
authored
fix(fortuna/setup-provider): compare chain-length command line input (#1511)
* fix setup provider job * only need to replace chain length input * remove space
1 parent 2014d1e commit 567b4a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/fortuna/src/command/setup_provider.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ pub async fn setup_provider(opts: &SetupProviderOptions) -> Result<()> {
7474
&provider_address,
7575
&chain_config.contract_addr,
7676
&metadata.seed,
77-
metadata.chain_length,
77+
opts.randomness.chain_length,
7878
)?;
7979
let chain_state = HashChainState {
8080
offsets: vec![provider_info

0 commit comments

Comments
 (0)