Browse Source

We do not support sprout privkeys that begin with SK

pull/145/head
Duke 4 months ago
parent
commit
e042c1fb09
  1. 2
      src/mainwindow.cpp

2
src/mainwindow.cpp

@ -1150,7 +1150,7 @@ void MainWindow::doImport(QList<QString>* keys) {
QString key = keys->takeFirst();
bool rescan = false;
if (key.startsWith("SK") || Settings::getInstance()->isValidSaplingPrivateKey(key) ) {
if (Settings::getInstance()->isValidSaplingPrivateKey(key) ) {
DEBUG("importing zaddr privkey with rescan=" << rescan);
rpc->importZPrivKey(key, rescan, [=] (auto) { this->doImport(keys); });
} else {

Loading…
Cancel
Save