diff options
| author | Ross Nicoll <[email protected]> | 2021-06-07 20:49:06 +0100 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2021-06-09 08:14:36 +0100 |
| commit | 1de71358f7f195e8be67885a83a47870b0c262c3 (patch) | |
| tree | 55c7d3257d2e885f9d3b8fbdeb38fa55e1888fa0 /src | |
| parent | Add node context to wallet RPC request object (diff) | |
| download | discoin-1de71358f7f195e8be67885a83a47870b0c262c3.tar.xz discoin-1de71358f7f195e8be67885a83a47870b0c262c3.zip | |
Directly include NodeContext instead of defining it
Rather than defining that NodeContext is defined fully elsewhere, actually include node/context.h into src/wallet/context.h for details.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wallet/context.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/context.h b/src/wallet/context.h index 24f862294..8e96c8933 100644 --- a/src/wallet/context.h +++ b/src/wallet/context.h @@ -5,13 +5,13 @@ #ifndef BITCOIN_WALLET_CONTEXT_H #define BITCOIN_WALLET_CONTEXT_H +#include <node/context.h> + class ArgsManager; namespace interfaces { class Chain; } // namespace interfaces -struct NodeContext; - //! WalletContext struct containing references to state shared between CWallet //! instances, like the reference to the chain interface, and the list of opened //! wallets. |