Skip to content

Generating new adress with empty descriptor gives 0 exit code #170

Closed
@torkelrogstad

Description

@torkelrogstad

Describe the bug
Calling get_new_address with an empty descriptor prints an error, but exits with 0.

To Reproduce

$ bdk-cli --network signet wallet --descriptor "" get_new_address
$ echo $?
0

Expected behavior
I'd expect a non-0 exit code.

Build environment

  • BDK-CLI tag/commit: 0.27.1
  • OS+version: macOS
  • Rust/Cargo version: cargo 1.74.1 (ecb9851af 2023-10-18)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions