Browse Source

Only zaddrs have viewkeys

pull/183/head
Duke Leto 4 years ago
parent
commit
ff5bda6aa3
  1. 8
      src/mainwindow.cpp

8
src/mainwindow.cpp

@ -976,9 +976,11 @@ void MainWindow::setupBalancesTab() {
this->exportKeys(addr); this->exportKeys(addr);
}); });
menu.addAction(tr("Get viewing key"), [=] () { if (addr.startsWith("zs1")) {
this->getViewKey(addr); menu.addAction(tr("Get viewing key"), [=] () {
}); this->getViewKey(addr);
});
}
menu.addAction("Send from " % addr.left(40) % (addr.size() > 40 ? "..." : ""), [=]() { menu.addAction("Send from " % addr.left(40) % (addr.size() > 40 ? "..." : ""), [=]() {
fnDoSendFrom(addr); fnDoSendFrom(addr);

Loading…
Cancel
Save