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;
}
diff --git a/src/RPCServer.cpp b/src/RPCServer.cpp
index 8996b072fe..005090bdb6 100644
--- a/src/RPCServer.cpp
+++ b/src/RPCServer.cpp
@@ -1386,7 +1386,7 @@ Json::Value RPCServer::doSend(const Json::Value& params)
{
// Not enough native currency.
- Log(lsINFO) << "doSend: Insufficent funds: src=" << saSrcAmount.getText() << " dst=" << saDstAmount.getText();
+ Log(lsINFO) << "doSend: Insufficient funds: src=" << saSrcAmount.getText() << " dst=" << saDstAmount.getText();
return RPCError(rpcINSUF_FUNDS);
}