Merge #312: descriptors: mention origin requirement in invalid key error

72fc42bc3834eeb03ee699e74096814aca553d4b descriptors: mention origin requirement in invalid key error (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  darosior:
    self-ACK 72fc42bc3834eeb03ee699e74096814aca553d4b

Tree-SHA512: a022317a8303cc9bca0fe0fa565efd3db263b885bdf488fdf100fc4dbcf07d4e681b0d2c6a50a9f19d52f4147946aa0b653ed4ff8f5c2ef2d6bac0fc093435bf
This commit is contained in:
Antoine Poinsot 2023-02-03 18:33:40 +01:00
commit 72d04e5a0f
No known key found for this signature in database
GPG Key ID: E13FC145CD3F4304

View File

@ -58,7 +58,7 @@ impl std::fmt::Display for LianaDescError {
Self::InvalidKey(key) => {
write!(
f,
"Invalid key '{}'. Need a wildcard ('ranged') xpub with a multipath for (and only for) deriving change addresses. That is, an xpub of the form 'xpub.../<0;1>/*'.",
"Invalid key '{}'. Need a wildcard ('ranged') xpub with an origin and a multipath for (and only for) deriving change addresses. That is, an xpub of the form '[aaff0099]xpub.../<0;1>/*'.",
key
)
}