mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
refactor: Drop CWalletRef typedef
This commit is contained in:
parent
615f7c2884
commit
6efd9644cf
6 changed files with 12 additions and 13 deletions
|
|
@ -323,28 +323,28 @@ bool WalletInit::Open() const
|
|||
|
||||
void WalletInit::Start(CScheduler& scheduler) const
|
||||
{
|
||||
for (CWalletRef pwallet : vpwallets) {
|
||||
for (CWallet* pwallet : vpwallets) {
|
||||
pwallet->postInitProcess(scheduler);
|
||||
}
|
||||
}
|
||||
|
||||
void WalletInit::Flush() const
|
||||
{
|
||||
for (CWalletRef pwallet : vpwallets) {
|
||||
for (CWallet* pwallet : vpwallets) {
|
||||
pwallet->Flush(false);
|
||||
}
|
||||
}
|
||||
|
||||
void WalletInit::Stop() const
|
||||
{
|
||||
for (CWalletRef pwallet : vpwallets) {
|
||||
for (CWallet* pwallet : vpwallets) {
|
||||
pwallet->Flush(true);
|
||||
}
|
||||
}
|
||||
|
||||
void WalletInit::Close() const
|
||||
{
|
||||
for (CWalletRef pwallet : vpwallets) {
|
||||
for (CWallet* pwallet : vpwallets) {
|
||||
delete pwallet;
|
||||
}
|
||||
vpwallets.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue