diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-04-04 12:41:32 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-04-04 12:41:32 -0500 |
commit | 60110646939b055f81939a6d6d4cbc43f90ea707 (patch) | |
tree | ec374baa6789575d92ddc366fd8ebf4a03cfb700 /src/wallet/api/wallet_manager.cpp | |
parent | Merge pull request #6328 (diff) | |
parent | wallet2_api: wallet recovery - seed offset passphrase support (diff) | |
download | monero-60110646939b055f81939a6d6d4cbc43f90ea707.tar.xz |
Merge pull request #6334
cc18926 wallet2_api: wallet recovery - seed offset passphrase support (xiphon)
Diffstat (limited to 'src/wallet/api/wallet_manager.cpp')
-rw-r--r-- | src/wallet/api/wallet_manager.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wallet/api/wallet_manager.cpp b/src/wallet/api/wallet_manager.cpp index d589dcc75..44a184304 100644 --- a/src/wallet/api/wallet_manager.cpp +++ b/src/wallet/api/wallet_manager.cpp @@ -93,13 +93,14 @@ Wallet *WalletManagerImpl::recoveryWallet(const std::string &path, const std::string &mnemonic, NetworkType nettype, uint64_t restoreHeight, - uint64_t kdf_rounds) + uint64_t kdf_rounds, + const std::string &seed_offset/* = {}*/) { WalletImpl * wallet = new WalletImpl(nettype, kdf_rounds); if(restoreHeight > 0){ wallet->setRefreshFromBlockHeight(restoreHeight); } - wallet->recover(path, password, mnemonic); + wallet->recover(path, password, mnemonic, seed_offset); return wallet; } |