Browse Source

RPC fixes

pull/45/head
Aditya Kulkarni 5 years ago
parent
commit
ea8375ce20
  1. 2
      src/websockets.cpp

2
src/websockets.cpp

@ -112,7 +112,7 @@ QJsonDocument AppDataServer::processSendTx(QJsonObject sendTx, MainWindow* mainw
tx.fee = Settings::getMinerFee();
// Find a from address that has at least the sending amout
double amt = sendTx["amount"].toDouble();
double amt = sendTx["amount"].toString().toDouble();
auto allBalances = mainwindow->getRPC()->getAllBalances();
QList<QPair<QString, double>> bals;
for (auto i : allBalances->keys()) {

Loading…
Cancel
Save