From f1a0420246053b082e2e3075979dcba65471c5cd Mon Sep 17 00:00:00 2001 From: fsb4000 Date: Sat, 3 Jan 2015 13:55:01 +0600 Subject: [PATCH] =?utf8?q?=D0=BF=D0=BE=D0=BA=D0=B0=D0=B7=D1=8B=D0=B2=D0=B0=D1=82=D1=8C=20scryptPubKey=20=D0=B2=20hex=20=D0=B8=20asm=20=D1=84=D0=BE=D1=80=D0=BC=D0=B0=D1=82=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit в выводе RPC команды decoderawtransaction Устранит такие неудобства: https://bitcointalk.org/index.php?topic=704756.msg9978930#msg9978930 --- src/rpcrawtransaction.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp index bc791d4..ba80b01 100644 --- a/src/rpcrawtransaction.cpp +++ b/src/rpcrawtransaction.cpp @@ -77,7 +77,7 @@ void TxToJSON(const CTransaction& tx, const uint256 hashBlock, Object& entry) out.push_back(Pair("value", ValueFromAmount(txout.nValue))); out.push_back(Pair("n", (boost::int64_t)i)); Object o; - ScriptPubKeyToJSON(txout.scriptPubKey, o, false); + ScriptPubKeyToJSON(txout.scriptPubKey, o, true); out.push_back(Pair("scriptPubKey", o)); vout.push_back(out); } -- 1.7.1