wallet: Pass unused args to StartWallets

This refactor does not change behavior
This commit is contained in:
MarcoFalke
2020-05-11 17:40:21 +02:00
parent fa6c186436
commit faf8401c19
9 changed files with 29 additions and 18 deletions

View File

@ -5,6 +5,7 @@
#ifndef BITCOIN_WALLET_CONTEXT_H
#define BITCOIN_WALLET_CONTEXT_H
class ArgsManager;
namespace interfaces {
class Chain;
} // namespace interfaces
@ -21,6 +22,7 @@ class Chain;
//! behavior.
struct WalletContext {
interfaces::Chain* chain{nullptr};
ArgsManager* args{nullptr};
//! Declare default constructor and destructor that are not inline, so code
//! instantiating the WalletContext struct doesn't need to #include class