git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c0f91b3
)
TX_PUBKEY_DROP fix
author
alex
<balthazar@yandex.ru>
Fri, 19 Feb 2016 18:06:37 +0000 (21:06 +0300)
committer
alex
<balthazar@yandex.ru>
Fri, 19 Feb 2016 18:06:37 +0000 (21:06 +0300)
src/rpcrawtransaction.cpp
patch
|
blob
|
history
diff --git
a/src/rpcrawtransaction.cpp
b/src/rpcrawtransaction.cpp
index
4bcf911
..
3106ce3
100644
(file)
--- 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<valtype> 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;