Initialize a new server connection from seedphrase when restoring from seed
This commit is contained in:
@@ -777,7 +777,8 @@ bool RestoreSeedPage::validatePage() {
|
|||||||
qDebug() << __func__ << ": new server is " << parent->server;
|
qDebug() << __func__ << ": new server is " << parent->server;
|
||||||
|
|
||||||
// make a new connection to the new server
|
// make a new connection to the new server
|
||||||
char* resp = litelib_initialize_new(parent->dangerous,parent->server.toStdString().c_str());
|
char* resp = litelib_initialize_new_from_phrase(parent->dangerous, parent->server.toStdString().c_str(),
|
||||||
|
seed.toStdString().c_str(), birthday, number);
|
||||||
reply = litelib_process_response(resp);
|
reply = litelib_process_response(resp);
|
||||||
|
|
||||||
// retry with the new server
|
// retry with the new server
|
||||||
|
|||||||
Reference in New Issue
Block a user