diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2020-05-19 15:13:17 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2020-08-12 16:44:06 +0200 |
commit | b354a1480abbd71fb7fb82c39c81ea0644bbfce4 (patch) | |
tree | f16a3990ad74133097e1b48e83a4f32a8cec2b30 /src/interfaces/node.cpp | |
parent | 25e1d0bf417237caa5d36b4e757f29e6c8be8aad (diff) | |
download | bitcoin-b354a1480abbd71fb7fb82c39c81ea0644bbfce4.tar.xz |
Add BlockAndHeaderTipInfo to the node interface/appInit
Diffstat (limited to 'src/interfaces/node.cpp')
-rw-r--r-- | src/interfaces/node.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/node.cpp b/src/interfaces/node.cpp index 969767b90f..21400d00f8 100644 --- a/src/interfaces/node.cpp +++ b/src/interfaces/node.cpp @@ -80,10 +80,10 @@ public: return AppInitBasicSetup() && AppInitParameterInteraction() && AppInitSanityChecks() && AppInitLockDataDirectory(); } - bool appInitMain() override + bool appInitMain(interfaces::BlockAndHeaderTipInfo* tip_info) override { m_context->chain = MakeChain(*m_context); - return AppInitMain(m_context_ref, *m_context); + return AppInitMain(m_context_ref, *m_context, tip_info); } void appShutdown() override { |