gettransaction: use pubkey pair instead of key view.
authorCryptoManiac <balthazar@yandex.ru>
Sat, 20 Feb 2016 16:16:30 +0000 (19:16 +0300)
committerCryptoManiac <balthazar@yandex.ru>
Sat, 20 Feb 2016 16:16:30 +0000 (19:16 +0300)
src/rpcrawtransaction.cpp

index 855e9be..319953b 100644 (file)
@@ -49,7 +49,7 @@ void ScriptPubKeyToJSON(const CScript& scriptPubKey, Object& out, bool fIncludeH
 
             CMalleableKeyView view;
             if (pwalletMain->CheckOwnership(CPubKey(vSolutions[0]), CPubKey(vSolutions[1]), view))
-                out.push_back(Pair("keyView", view.ToString()));
+                out.push_back(Pair("pubkeyPair", view.GetMalleablePubKey().ToString()));
         }
         else
         {