@@ -131,7 +131,7 @@ static bool SignStep(const SigningProvider& provider, const BaseSignatureCreator
131131 }
132132 case TX_SCRIPTHASH:
133133 h160 = uint160 (vSolutions[0 ]);
134- if (GetCScript (provider, sigdata, h160, scriptRet)) {
134+ if (GetCScript (provider, sigdata, CScriptID{ h160} , scriptRet)) {
135135 ret.push_back (std::vector<unsigned char >(scriptRet.begin (), scriptRet.end ()));
136136 return true ;
137137 }
@@ -165,7 +165,7 @@ static bool SignStep(const SigningProvider& provider, const BaseSignatureCreator
165165
166166 case TX_WITNESS_V0_SCRIPTHASH:
167167 CRIPEMD160 ().Write (&vSolutions[0 ][0 ], vSolutions[0 ].size ()).Finalize (h160.begin ());
168- if (GetCScript (provider, sigdata, h160, scriptRet)) {
168+ if (GetCScript (provider, sigdata, CScriptID{ h160} , scriptRet)) {
169169 ret.push_back (std::vector<unsigned char >(scriptRet.begin (), scriptRet.end ()));
170170 return true ;
171171 }
@@ -458,7 +458,7 @@ bool IsSegWitOutput(const SigningProvider& provider, const CScript& script)
458458 if (whichtype == TX_SCRIPTHASH) {
459459 auto h160 = uint160 (solutions[0 ]);
460460 CScript subscript;
461- if (provider.GetCScript (h160, subscript)) {
461+ if (provider.GetCScript (CScriptID{ h160} , subscript)) {
462462 whichtype = Solver (subscript, solutions);
463463 if (whichtype == TX_WITNESS_V0_SCRIPTHASH || whichtype == TX_WITNESS_V0_KEYHASH || whichtype == TX_WITNESS_UNKNOWN) return true ;
464464 }
0 commit comments