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

Improved debugging for wally_psbt_sign_bip32 #378

Open
Sjors opened this issue Mar 16, 2023 · 0 comments
Open

Improved debugging for wally_psbt_sign_bip32 #378

Sjors opened this issue Mar 16, 2023 · 0 comments

Comments

@Sjors
Copy link
Contributor

Sjors commented Mar 16, 2023

I'm trying to leverage the new wally_psbt_sign_bip32 function, but having a hard time debugging things, since it only returns WALLY_EINVAL.

Sjors/libwally-swift#85

Different error codes for different failure modes would make this easier. Alternatively, having more helper methods to sanity check inputs could help debugging too. E.g. I ended up calling wally_psbt_get_id (which succeeds) since it calls some common code with wally_psbt_sign_bip32 to narrow down the failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant