mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
compile on windows
This commit is contained in:
@@ -836,11 +836,17 @@ Json::Value STAmount::getJson(int) const
|
||||
{
|
||||
Json::Value elem(Json::objectValue);
|
||||
|
||||
elem["value"] = getText();
|
||||
|
||||
|
||||
// This is a hack, many places don't specify a currency. STAmount is used just as a value.
|
||||
if (!mIsNative)
|
||||
{
|
||||
elem["value"] = getText();
|
||||
elem["currency"] = getCurrencyHuman();
|
||||
}else
|
||||
{
|
||||
elem=getText();
|
||||
}
|
||||
|
||||
return elem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user