fixing amt for sendmanyTx
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user