This commit is contained in:
jl777
2018-07-21 04:01:53 -11:00
parent e512c055ac
commit c00ab6424d
2 changed files with 2 additions and 4 deletions

View File

@@ -45,8 +45,8 @@ void ScriptPubKeyToJSON(const CScript& scriptPubKey, UniValue& out, bool fInclud
if (fIncludeHex)
out.push_back(Pair("hex", HexStr(scriptPubKey.begin(), scriptPubKey.end())));
if (!ExtractDestinations(scriptPubKey, type, addresses, nRequired)) {
fprintf(stderr,"extractdestinations error\n");
if (!ExtractDestinations(scriptPubKey, type, addresses, nRequired))
{
out.push_back(Pair("type", GetTxnOutputType(type)));
return;
}