descriptor: fix missed m_script_arg arg renaming in #14934

This commit is contained in:
fanquake 2019-08-14 19:48:13 +08:00
parent e7df1ecd17
commit 396385657c
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -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);
}
}