aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/rpc/addresses.cpp
diff options
context:
space:
mode:
authorAntoine Poinsot <darosior@protonmail.com>2022-07-20 12:42:08 +0200
committerAntoine Poinsot <darosior@protonmail.com>2022-08-11 15:43:40 +0200
commitb16f93caddcd3254eaf3dc43e09adf2142a9c40a (patch)
tree675b615337627dead3cde665e3bb3e951e54565f /src/wallet/rpc/addresses.cpp
parentc232ef20c0fd2e3b55355e52684091cad3af5247 (diff)
downloadbitcoin-b16f93caddcd3254eaf3dc43e09adf2142a9c40a.tar.xz
script/sign: remove needless IsSolvable() utility
It was used back when we didn't have a concept of descriptor. Now we can check for solvability using descriptors.
Diffstat (limited to 'src/wallet/rpc/addresses.cpp')
-rw-r--r--src/wallet/rpc/addresses.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpc/addresses.cpp b/src/wallet/rpc/addresses.cpp
index 148343a8b0..903a569cb9 100644
--- a/src/wallet/rpc/addresses.cpp
+++ b/src/wallet/rpc/addresses.cpp
@@ -578,7 +578,7 @@ RPCHelpMan getaddressinfo()
if (provider) {
auto inferred = InferDescriptor(scriptPubKey, *provider);
- bool solvable = inferred->IsSolvable() || IsSolvable(*provider, scriptPubKey);
+ bool solvable = inferred->IsSolvable();
ret.pushKV("solvable", solvable);
if (solvable) {
ret.pushKV("desc", inferred->ToString());