You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(descriptor): reject bare descriptors in check_wallet_descriptor
Bare descriptors (e.g. pk()) have no standard address form. Passing one
to the wallet would not be caught at creation time and would cause panics
later when address derivation is attempted.
Add an UnsupportedDescriptorType variant to DescriptorError and check for
DescriptorType::Bare in check_wallet_descriptor, returning the new error
before the descriptor reaches wallet internals.
Closes#54
0 commit comments