From f4aec40fc1011b7061a8d8226dc2782f780b8ae4 Mon Sep 17 00:00:00 2001 From: Nik Bougalis Date: Tue, 22 Apr 2014 12:13:04 -0700 Subject: [PATCH] Fix display formatting of STAmount --- src/ripple_data/protocol/STAmount.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ripple_data/protocol/STAmount.cpp b/src/ripple_data/protocol/STAmount.cpp index 14f1540ab..82936bf67 100644 --- a/src/ripple_data/protocol/STAmount.cpp +++ b/src/ripple_data/protocol/STAmount.cpp @@ -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); }