From: alex Date: Fri, 19 Feb 2016 18:06:37 +0000 (+0300) Subject: TX_PUBKEY_DROP fix X-Git-Tag: nvc-v0.5.6~65^2~1 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=82d53d03a9031468bc03ce73baa2636d1b9693e3;hp=c0f91b3005a8dbc0663c8ec118b5a488bae8f16c TX_PUBKEY_DROP fix --- diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp index 4bcf911..3106ce3 100644 --- a/src/rpcrawtransaction.cpp +++ b/src/rpcrawtransaction.cpp @@ -43,11 +43,9 @@ void ScriptPubKeyToJSON(const CScript& scriptPubKey, Object& out, bool fIncludeH if (type == TX_PUBKEY_DROP) { vector vSolutions; - if (!Solver(scriptPubKey, type, vSolutions)) - { - out.push_back(Pair("keyVariant", HexStr(vSolutions[0]))); - out.push_back(Pair("R", HexStr(vSolutions[1]))); - } + Solver(scriptPubKey, type, vSolutions); + out.push_back(Pair("keyVariant", HexStr(vSolutions[0]))); + out.push_back(Pair("R", HexStr(vSolutions[1]))); } Array a;