diff options
author | Carl Dong <contact@carldong.me> | 2020-10-06 17:35:11 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2021-06-10 15:05:25 -0400 |
commit | 6f994882deafe62e97f0a889d8bdb8c96dcf913d (patch) | |
tree | b7146c5915735a43da76340c665928441137bd49 /src/rest.cpp | |
parent | 972c5166ee685447a6d4bf5e501b07a0871fba85 (diff) |
validation: Farewell, global Chainstate!
Diffstat (limited to 'src/rest.cpp')
-rw-r--r-- | src/rest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rest.cpp b/src/rest.cpp index 747c7aea19..d599f381e3 100644 --- a/src/rest.cpp +++ b/src/rest.cpp @@ -125,7 +125,7 @@ static ChainstateManager* GetChainman(const std::any& context, HTTPRequest* req) __FILE__, __LINE__, __func__, PACKAGE_BUGREPORT)); return nullptr; } - return node_context->chainman; + return node_context->chainman.get(); } static RetFormat ParseDataFormat(std::string& param, const std::string& strReq) |