aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/context.h
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2020-05-11 17:40:21 +0200
committerMarcoFalke <[email protected]>2020-07-09 13:07:37 +0200
commitfaf8401c195f52470d1ca6e2c94cb3820e57ee41 (patch)
tree910f9d852aa3d2b8ea6dc5434f791b93096ed036 /src/wallet/context.h
parentgui tests: Limit life-time of dummy testing setup (diff)
downloaddiscoin-faf8401c195f52470d1ca6e2c94cb3820e57ee41.tar.xz
discoin-faf8401c195f52470d1ca6e2c94cb3820e57ee41.zip
wallet: Pass unused args to StartWallets
This refactor does not change behavior
Diffstat (limited to 'src/wallet/context.h')
-rw-r--r--src/wallet/context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/context.h b/src/wallet/context.h
index 3c8fdd1c5..a83591154 100644
--- a/src/wallet/context.h
+++ b/src/wallet/context.h
@@ -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