@@ -305,8 +305,8 @@ static void MutateTxAddOutPubKey(CMutableTransaction& tx, const std::string& str
305305 bool bScriptHash = false ;
306306 if (vStrInputParts.size () == 3 ) {
307307 std::string flags = vStrInputParts[2 ];
308- bSegWit = (flags.find (" W " ) != std::string::npos);
309- bScriptHash = (flags.find (" S " ) != std::string::npos);
308+ bSegWit = (flags.find (' W ' ) != std::string::npos);
309+ bScriptHash = (flags.find (' S ' ) != std::string::npos);
310310 }
311311
312312 if (bSegWit) {
@@ -367,8 +367,8 @@ static void MutateTxAddOutMultiSig(CMutableTransaction& tx, const std::string& s
367367 bool bScriptHash = false ;
368368 if (vStrInputParts.size () == numkeys + 4 ) {
369369 std::string flags = vStrInputParts.back ();
370- bSegWit = (flags.find (" W " ) != std::string::npos);
371- bScriptHash = (flags.find (" S " ) != std::string::npos);
370+ bSegWit = (flags.find (' W ' ) != std::string::npos);
371+ bScriptHash = (flags.find (' S ' ) != std::string::npos);
372372 }
373373 else if (vStrInputParts.size () > numkeys + 4 ) {
374374 // Validate that there were no more parameters passed
@@ -447,8 +447,8 @@ static void MutateTxAddOutScript(CMutableTransaction& tx, const std::string& str
447447 bool bScriptHash = false ;
448448 if (vStrInputParts.size () == 3 ) {
449449 std::string flags = vStrInputParts.back ();
450- bSegWit = (flags.find (" W " ) != std::string::npos);
451- bScriptHash = (flags.find (" S " ) != std::string::npos);
450+ bSegWit = (flags.find (' W ' ) != std::string::npos);
451+ bScriptHash = (flags.find (' S ' ) != std::string::npos);
452452 }
453453
454454 if (scriptPubKey.size () > MAX_SCRIPT_SIZE) {
0 commit comments