From 48aab5c6e57f9e66ffec7cae0c1398ac767381f7 Mon Sep 17 00:00:00 2001 From: xiphon Date: Tue, 11 Feb 2020 23:34:15 +0000 Subject: WalletManager: wallet recovery - seed offset passphrase support --- src/libwalletqt/WalletManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libwalletqt/WalletManager.cpp') diff --git a/src/libwalletqt/WalletManager.cpp b/src/libwalletqt/WalletManager.cpp index e089a285..01faf905 100644 --- a/src/libwalletqt/WalletManager.cpp +++ b/src/libwalletqt/WalletManager.cpp @@ -151,14 +151,14 @@ void WalletManager::openWalletAsync(const QString &path, const QString &password } -Wallet *WalletManager::recoveryWallet(const QString &path, const QString &memo, NetworkType::Type nettype, quint64 restoreHeight, quint64 kdfRounds) +Wallet *WalletManager::recoveryWallet(const QString &path, const QString &seed, const QString &seed_offset, NetworkType::Type nettype, quint64 restoreHeight, quint64 kdfRounds) { QMutexLocker locker(&m_mutex); if (m_currentWallet) { qDebug() << "Closing open m_currentWallet" << m_currentWallet; delete m_currentWallet; } - Monero::Wallet * w = m_pimpl->recoveryWallet(path.toStdString(), "", memo.toStdString(), static_cast(nettype), restoreHeight, kdfRounds); + Monero::Wallet * w = m_pimpl->recoveryWallet(path.toStdString(), "", seed.toStdString(), static_cast(nettype), restoreHeight, kdfRounds, seed_offset.toStdString()); m_currentWallet = new Wallet(w); return m_currentWallet; } -- cgit v1.2.3