aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
diff options
context:
space:
mode:
authortobtoht <thotbot@protonmail.com>2021-03-12 19:45:29 +0100
committertobtoht <thotbot@protonmail.com>2021-03-12 19:45:29 +0100
commit1851f2645a3e15efd2313f6fb5352bf2dfc1b06b (patch)
tree1dc98fd4e6bf5c23e2b1218b64d18ee0695bd019 /src/wallet/api/wallet.cpp
parentMerge pull request #7381 (diff)
downloadmonero-1851f2645a3e15efd2313f6fb5352bf2dfc1b06b.tar.xz
wallet_api: add seed_offset param to seed()
Diffstat (limited to 'src/wallet/api/wallet.cpp')
-rw-r--r--src/wallet/api/wallet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp
index 4f923ce54..71f0891ca 100644
--- a/src/wallet/api/wallet.cpp
+++ b/src/wallet/api/wallet.cpp
@@ -791,11 +791,11 @@ bool WalletImpl::close(bool store)
return result;
}
-std::string WalletImpl::seed() const
+std::string WalletImpl::seed(const std::string& seed_offset) const
{
epee::wipeable_string seed;
if (m_wallet)
- m_wallet->get_seed(seed);
+ m_wallet->get_seed(seed, seed_offset);
return std::string(seed.data(), seed.size()); // TODO
}