File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -754,7 +754,7 @@ static UniValue decodescript(const JSONRPCRequest& request)
754754 r.pushKV (" p2sh" , EncodeDestination (ScriptHash (CScriptID (script))));
755755 // P2SH and witness programs cannot be wrapped in P2WSH, if this script
756756 // is a witness program, don't return addresses for a segwit programs.
757- if (type.get_str () == " pubkey" || type.get_str () == " pubkeyhash" || type.get_str () == " multisig" || type.get_str () == " nonstandard" ) {
757+ if (type.get_str () == " pubkey" || type.get_str () == " pubkeyhash" || type.get_str () == " multisig" || type.get_str () == " nonstandard" || type. get_str () == " true " ) {
758758 std::vector<std::vector<unsigned char >> solutions_data;
759759 txnouttype which_type = Solver (script, solutions_data);
760760 // Uncompressed pubkeys cannot be used with segwit checksigs.
You can’t perform that action at this time.
0 commit comments