wallet_api: add seed_offset param to seed()

This commit is contained in:
tobtoht
2021-03-12 19:45:29 +01:00
parent b8f3e44a3f
commit 1851f2645a
3 changed files with 4 additions and 4 deletions

View File

@@ -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
}