Remove scriptPubKey/scriptSig from CPourTx, and add randomSeed.
This commit is contained in:
@@ -124,19 +124,9 @@ void TxToJSON(const CTransaction& tx, const uint256 hashBlock, Object& entry)
|
||||
pour.push_back(Pair("vpub_old", ValueFromAmount(pourtx.vpub_old)));
|
||||
pour.push_back(Pair("vpub_new", ValueFromAmount(pourtx.vpub_new)));
|
||||
|
||||
{
|
||||
Object o;
|
||||
ScriptPubKeyToJSON(pourtx.scriptPubKey, o, true);
|
||||
pour.push_back(Pair("scriptPubKey", o));
|
||||
}
|
||||
|
||||
{
|
||||
Object o;
|
||||
ScriptPubKeyToJSON(pourtx.scriptSig, o, true);
|
||||
pour.push_back(Pair("scriptSig", o));
|
||||
}
|
||||
|
||||
pour.push_back(Pair("valid", pourtx.Verify(*pzerocashParams)));
|
||||
// TODO: #808
|
||||
uint256 pubKeyHash;
|
||||
pour.push_back(Pair("valid", pourtx.Verify(*pzerocashParams, pubKeyHash)));
|
||||
|
||||
vpour.push_back(pour);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user