X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Frpcrawtransaction.cpp;h=346dcfc2484b236926186608d25791e9b18df706;hp=c58170b1111dcc43f3756df4df52bb73f70f8d18;hb=927d737acd6d1b5911a204a3eea596e89f1a86e4;hpb=ac7be422c9ecf17e881d07a501b55f31410671da diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp index c58170b..346dcfc 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;