Work towards ripple.

This commit is contained in:
Arthur Britto
2012-07-28 17:36:08 -07:00
parent fde853d388
commit 4f8ada17c7
5 changed files with 162 additions and 78 deletions

View File

@@ -464,13 +464,13 @@ void STPathSet::add(Serializer& s) const
s.add8(iType);
if (iType && STPathElement::typeAccount)
if (iType & STPathElement::typeAccount)
s.add160(speElement.getAccountID());
if (iType && STPathElement::typeCurrency)
if (iType & STPathElement::typeCurrency)
s.add160(speElement.getCurrency());
if (iType && STPathElement::typeIssuer)
if (iType & STPathElement::typeIssuer)
s.add160(speElement.getIssuerID());
}
}