Browse Source

Parse addresses properly

pull/45/head
Aditya Kulkarni 5 years ago
parent
commit
82d6e75528
  1. 6
      src/mainwindow.cpp

6
src/mainwindow.cpp

@ -239,6 +239,12 @@ void MainWindow::turnstileDoMigration(QString fromAddr) {
auto fnUpdateSproutBalance = [=] (QString addr) {
double bal = 0;
// The currentText contains the balance as well, so strip that.
if (addr.contains("(")) {
addr = addr.left(addr.indexOf("("));
}
if (addr.startsWith("All")) {
bal = fnGetAllSproutBalance();
} else {

Loading…
Cancel
Save