ElementsProject / ElementsProject/libwally-core

Improved debugging for wally_psbt_sign_bip32

Open
#378 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
307
Forks
159
Avg merge
2h 56m
Merged PRs (30d)
4

Description

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`.

https://github.com/Sjors/libwally-swift/pull/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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.