Ok, one final fix
This commit is contained in:
@@ -978,7 +978,7 @@ namespace Swarmops.Backend
|
||||
Swarmops.Logic.Financial.Money organizationCents = new Money(satoshis, Currency.Bitcoin).ToCurrency(currency);
|
||||
json["Satoshis"] = satoshis.ToString();
|
||||
json["Cents"] = organizationCents.Cents.ToString();
|
||||
json["CentsFormatted"] = String.Format("N2", organizationCents.Cents/100.0);
|
||||
json["CentsFormatted"] = String.Format("{0:N2}", organizationCents.Cents/100.0);
|
||||
|
||||
_socketServer.WebSocketServices.Broadcast(json.ToString());
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ function _masterInitializeSocket(authenticationTicket) {
|
||||
}
|
||||
|
||||
if (!handled) {
|
||||
alertify.log("Bitcoin received: " + message.Currecy + " " + message.CentsFormatted);
|
||||
alertify.log("Bitcoin received: " + message.CurrencyCode + " " + message.CentsFormatted);
|
||||
}
|
||||
}
|
||||
else if (message.MessageType == "SandboxUpdate") {
|
||||
|
||||
Reference in New Issue
Block a user