diff options
author | Carl Dong <contact@carldong.me> | 2022-03-02 20:04:12 -0500 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2022-05-31 14:18:31 -0400 |
commit | eeb4fc20c578b1e428a92d64cc9f8f903a677580 (patch) | |
tree | 207246551b4c5133f4e549cc7e5bf91a86da7d82 /src/txorphanage.cpp | |
parent | d4d9daff7ab60a9f0cae0a34f86be0bb497f62f4 (diff) |
test: Use Set/UnsetGlobals in BasicTestingSetup
...instead of calling initialization functions directly and having to
keep around a ECCVerifyHandle member variable.
This makes the initialization codepath of our tests more closely
resemble those of AppInitMain and potentially eases the review of
subsequent commit removing init::{Set,Unset}Globals.
[META] In a future commit, we will introduce a kernel::Context which
calls init::{Set,Unset}Globals in its ctor and dtor. It will be
owned by node::NodeContext, so in the end, this patchset won't
have made the previously local ECCVerifyHandle global.
Diffstat (limited to 'src/txorphanage.cpp')
0 files changed, 0 insertions, 0 deletions