Restore possibility of negative timestamps for PoS

This commit is contained in:
jl777
2018-05-09 09:36:27 +03:00
parent 2e12bbce39
commit b9b415654f
2 changed files with 2 additions and 5 deletions

View File

@@ -138,6 +138,8 @@ void TxToJSONExpanded(const CTransaction& tx, const uint256 hashBlock, UniValue&
else {
in.push_back(Pair("txid", txin.prevout.hash.GetHex()));
in.push_back(Pair("vout", (int64_t)txin.prevout.n));
UniValue o(UniValue::VOBJ);
o.push_back(Pair("asm", txin.scriptSig.ToString()));
o.push_back(Pair("hex", HexStr(txin.scriptSig.begin(), txin.scriptSig.end())));