mirror of
https://github.com/monero-project/monero.git
synced 2026-01-12 21:13:55 -08:00
wallet_api: add seed_offset param to seed()
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user