poanetwork / hbbft

An implementation of the paper "Honey Badger of BFT Protocols" in Rust. This is a modular library of consensus.
Other
357 stars 96 forks source link

consensus-node example panics with parameter "-h". #360

Closed afck closed 5 years ago

afck commented 5 years ago

This should print the help text instead:

$ cargo run --example consensus-node -- -h
    Finished dev [unoptimized + debuginfo] target(s) in 0.12s                                                                                                                                                                                 
     Running `target/debug/examples/consensus-node -h`
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: AddrParseError(())', libcore/result.rs:1009:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.