From: CryptoManiac Date: Sat, 20 Feb 2016 16:16:30 +0000 (+0300) Subject: gettransaction: use pubkey pair instead of key view. X-Git-Tag: nvc-v0.5.6~63 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=466b7a3e721c1c234ccad1360108325ba14b6afe gettransaction: use pubkey pair instead of key view. --- diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp index 855e9be..319953b 100644 --- a/src/rpcrawtransaction.cpp +++ b/src/rpcrawtransaction.cpp @@ -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 {