aboutsummaryrefslogtreecommitdiff
path: root/src/script/descriptor.cpp
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2019-08-14 19:48:13 +0800
committerfanquake <fanquake@gmail.com>2019-08-14 19:48:13 +0800
commit396385657cf053ac6c947a5d0640c887f20ae5bb (patch)
tree826c47ebf87a48964d7f0573f0a85b675c119aa0 /src/script/descriptor.cpp
parente7df1ecd17584e4dc3fe2948f9927faed9c2e8e0 (diff)
descriptor: fix missed m_script_arg arg renaming in #14934
Diffstat (limited to 'src/script/descriptor.cpp')
-rw-r--r--src/script/descriptor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/descriptor.cpp b/src/script/descriptor.cpp
index 8ae0460273..327af62a4f 100644
--- a/src/script/descriptor.cpp
+++ b/src/script/descriptor.cpp
@@ -492,9 +492,9 @@ public:
if (!p->GetPrivKey(pos, provider, key)) continue;
out.keys.emplace(key.GetPubKey().GetID(), key);
}
- if (m_script_arg) {
+ if (m_subdescriptor_arg) {
FlatSigningProvider subprovider;
- m_script_arg->ExpandPrivate(pos, provider, subprovider);
+ m_subdescriptor_arg->ExpandPrivate(pos, provider, subprovider);
out = Merge(out, subprovider);
}
}