MCPcopy Create free account
hub / github.com/ElementsProject/elements / ~InitWalletDirTestingSetup

Method ~InitWalletDirTestingSetup

src/wallet/test/init_test_fixture.cpp:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43InitWalletDirTestingSetup::~InitWalletDirTestingSetup()
44{
45 gArgs.LockSettings([&](util::Settings& settings) {
46 settings.forced_settings.erase("walletdir");
47 });
48 fs::current_path(m_cwd);
49}
50
51void InitWalletDirTestingSetup::SetWalletDir(const fs::path& walletdir_path)
52{

Callers

nothing calls this directly

Calls 2

LockSettingsMethod · 0.80
eraseMethod · 0.45

Tested by

no test coverage detected