chain: uniformly use SettingsAction enum in settings methods

This commit is contained in:
ismaelsadeeq
2024-09-05 21:25:06 +01:00
parent 1e9e735670
commit c8e2eeeffb
3 changed files with 9 additions and 9 deletions

View File

@@ -69,7 +69,7 @@ bool VerifyWallets(WalletContext& context)
// Pass write=false because no need to write file and probably
// better not to. If unnamed wallet needs to be added next startup
// and the setting is empty, this code will just run again.
chain.overwriteRwSetting("wallet", std::move(wallets), /*write=*/false);
chain.overwriteRwSetting("wallet", std::move(wallets), interfaces::SettingsAction::SKIP_WRITE);
}
}