Disallow negative amounts for CreditSet.

This commit is contained in:
Arthur Britto
2012-10-15 20:36:14 -07:00
parent b0c1062591
commit 9c31daad08
2 changed files with 5 additions and 3 deletions

View File

@@ -280,7 +280,7 @@ Json::Value TransactionMetaSet::getJson(int v) const
{
Json::Value ret = Json::objectValue;
ret["transaction_id"] = mTransactionID.GetHex();
ret["hash"] = mTransactionID.GetHex();
ret["ledger"] = mLedger;
Json::Value e = Json::arrayValue;
@@ -330,3 +330,4 @@ void TransactionMetaSet::swap(TransactionMetaSet& s)
mNodes.swap(s.mNodes);
}
// vim:ts=4