Work towards ripple.

This commit is contained in:
Arthur Britto
2012-08-01 12:44:22 -07:00
parent 4f8ada17c7
commit 794fe66008
4 changed files with 261 additions and 95 deletions

View File

@@ -318,16 +318,10 @@ STPathSet* STPathSet::construct(SerializerIterator& s, const char *name)
}
else
{
bool bAccount = !!(iType & STPathElement::typeAccount);
bool bOffer = !!(iType & STPathElement::typeOffer);
bool bAccount = !!(iType & STPathElement::typeAccount);
bool bCurrency = !!(iType & STPathElement::typeCurrency);
bool bIssuer = !!(iType & STPathElement::typeIssuer);
if (!bAccount && !bOffer)
{
throw std::runtime_error("bad path element");
}
uint160 uAccountID;
uint160 uCurrency;
uint160 uIssuerID;