diff --git a/newcoin.vcxproj b/newcoin.vcxproj index e9790d155a..58d9966419 100644 --- a/newcoin.vcxproj +++ b/newcoin.vcxproj @@ -116,6 +116,7 @@ + diff --git a/newcoin.vcxproj.filters b/newcoin.vcxproj.filters index 7de6413e29..168f3736bb 100644 --- a/newcoin.vcxproj.filters +++ b/newcoin.vcxproj.filters @@ -264,6 +264,9 @@ Source Files\websocketpp + + Source Files + diff --git a/src/Amount.cpp b/src/Amount.cpp index a5ba86d145..f02acf78b8 100644 --- a/src/Amount.cpp +++ b/src/Amount.cpp @@ -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; }