From 567b4a6597e074925af3fb3856a09f9e15a6672d Mon Sep 17 00:00:00 2001 From: Dev Kalra Date: Thu, 25 Apr 2024 17:41:06 +0530 Subject: [PATCH] fix(fortuna/setup-provider): compare chain-length command line input (#1511) * fix setup provider job * only need to replace chain length input * remove space --- apps/fortuna/src/command/setup_provider.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/fortuna/src/command/setup_provider.rs b/apps/fortuna/src/command/setup_provider.rs index 2f77e4fa04..8fc5729b26 100644 --- a/apps/fortuna/src/command/setup_provider.rs +++ b/apps/fortuna/src/command/setup_provider.rs @@ -74,7 +74,7 @@ pub async fn setup_provider(opts: &SetupProviderOptions) -> Result<()> { &provider_address, &chain_config.contract_addr, &metadata.seed, - metadata.chain_length, + opts.randomness.chain_length, )?; let chain_state = HashChainState { offsets: vec![provider_info