Remove target height from config
This commit is contained in:
parent
089b1eac4d
commit
aa32b7798a
2 changed files with 0 additions and 5 deletions
|
@ -37,10 +37,6 @@ pub struct Cli {
|
||||||
#[clap(long)]
|
#[clap(long)]
|
||||||
pub chain_id: String,
|
pub chain_id: String,
|
||||||
|
|
||||||
/// Height of the header to verify
|
|
||||||
#[clap(long)]
|
|
||||||
pub target_height: Height,
|
|
||||||
|
|
||||||
/// Height of the trusted header (AKA root-of-trust)
|
/// Height of the trusted header (AKA root-of-trust)
|
||||||
#[clap(long)]
|
#[clap(long)]
|
||||||
pub trusted_height: Height,
|
pub trusted_height: Height,
|
||||||
|
|
|
@ -33,7 +33,6 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
|
|
||||||
let light_client_opts = LightClientOpts::new(
|
let light_client_opts = LightClientOpts::new(
|
||||||
args.chain_id,
|
args.chain_id,
|
||||||
args.target_height,
|
|
||||||
args.trusted_height,
|
args.trusted_height,
|
||||||
args.trusted_hash,
|
args.trusted_hash,
|
||||||
args.trust_threshold,
|
args.trust_threshold,
|
||||||
|
|
Loading…
Reference in a new issue