Browse Source

fixing amt for sendmanyTx

pull/78/head
DenioD 4 years ago
parent
commit
4147d1a36a
  1. 3
      src/websockets.cpp

3
src/websockets.cpp

@ -816,6 +816,9 @@ void AppDataServer::processSendManyTx(QJsonObject sendmanyTx, MainWindow* mainwi
});
int totalSendManyItems = sendmanyTx.size();
for (int i=0; i < totalSendManyItems; i++) {
amt = CAmount::fromDecimalString(sendmanyTx["amount"].toString() % QString::number(i+1));
tx.fromAddr = bals[0].first;
tx.toAddrs = { ToFields{ sendmanyTx["to"].toString() % QString::number(i+1), amt, sendmanyTx["memo"].toString() % QString::number(i+1)} }; //send to more then one
}

Loading…
Cancel
Save