mirror of
https://github.com/wownero/wownero.git
synced 2026-12-03 14:34:01 +01:00
tests: make libwallet_api_tests work under ctest, add tests
This commit is contained in:
@@ -975,6 +975,16 @@ bool WalletImpl::init(const std::string &daemon_address, uint64_t upper_transact
|
||||
return doInit(daemon_address, proxy_address, upper_transaction_size_limit, use_ssl);
|
||||
}
|
||||
|
||||
void WalletImpl::allowMismatchedDaemonVersion(bool allow_mismatch)
|
||||
{
|
||||
m_wallet->allow_mismatched_daemon_version(allow_mismatch);
|
||||
}
|
||||
|
||||
void WalletImpl::setRingDatabase(const std::string &path)
|
||||
{
|
||||
m_wallet->set_ring_database(path);
|
||||
}
|
||||
|
||||
void WalletImpl::setRefreshFromBlockHeight(uint64_t refresh_from_block_height)
|
||||
{
|
||||
if (checkBackgroundSync("cannot change refresh height"))
|
||||
|
||||
Reference in New Issue
Block a user