fix(fortuna/setup-provider): compare chain-length command line input (#1511)
* fix setup provider job * only need to replace chain length input * remove space
This commit is contained in:
parent
2014d1e205
commit
567b4a6597
|
@ -74,7 +74,7 @@ pub async fn setup_provider(opts: &SetupProviderOptions) -> Result<()> {
|
||||||
&provider_address,
|
&provider_address,
|
||||||
&chain_config.contract_addr,
|
&chain_config.contract_addr,
|
||||||
&metadata.seed,
|
&metadata.seed,
|
||||||
metadata.chain_length,
|
opts.randomness.chain_length,
|
||||||
)?;
|
)?;
|
||||||
let chain_state = HashChainState {
|
let chain_state = HashChainState {
|
||||||
offsets: vec![provider_info
|
offsets: vec![provider_info
|
||||||
|
|
Loading…
Reference in New Issue