Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
torkelrogstad opened this issue Aug 14, 2024 · 0 comments
Open

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

torkelrogstad opened this issue Aug 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@torkelrogstad
Copy link

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)
@torkelrogstad torkelrogstad added the bug Something isn't working label Aug 14, 2024
@notmandatory notmandatory moved this to Todo in BDK Maintenance Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant