|
|
@ -78,7 +78,7 @@ void TxToJSON(const CTransaction& tx, const uint256 hashBlock, Object& entry)
|
|
|
|
out.push_back(Pair("value", ValueFromAmount(txout.nValue)));
|
|
|
|
out.push_back(Pair("value", ValueFromAmount(txout.nValue)));
|
|
|
|
out.push_back(Pair("n", (boost::int64_t)i));
|
|
|
|
out.push_back(Pair("n", (boost::int64_t)i));
|
|
|
|
Object o;
|
|
|
|
Object o;
|
|
|
|
ScriptPubKeyToJSON(txout.scriptPubKey, o, false);
|
|
|
|
ScriptPubKeyToJSON(txout.scriptPubKey, o, true);
|
|
|
|
out.push_back(Pair("scriptPubKey", o));
|
|
|
|
out.push_back(Pair("scriptPubKey", o));
|
|
|
|
vout.push_back(out);
|
|
|
|
vout.push_back(out);
|
|
|
|
}
|
|
|
|
}
|
|
|
|