Fix display formatting of STAmount

This commit is contained in:
Nik Bougalis
2014-04-22 12:13:04 -07:00
committed by Vinnie Falco
parent 7fed69fc13
commit f4aec40fc1

View File

@@ -1092,10 +1092,12 @@ std::string STAmount::getFullText () const
if (!mIsNative)
{
ret += "/";
if (!mIssuer)
ret += "/0";
ret += "0";
else if (mIssuer == ACCOUNT_ONE)
ret += "/1";
ret += "1";
else
ret += RippleAddress::createHumanAccountID (mIssuer);
}