scripted-diff: wallet/test: Use existing chainman
Summary:
-BEGIN VERIFY SCRIPT- git ls-files -- src/wallet/test \ | xargs sed -i -E \ -e 's@g_chainman\.m_blockman@m_node.chainman->m_blockman@g' \ -e 's@([^:])(Chain(state|)Active)@\1::\2@g' \ -e 's@::Chain(state|)Active\(\)@m_node.chainman->ActiveChain\1()@g' \ -e 's@ActiveChain\(\)\.Tip\(\)@ActiveTip()@g' \ -e 's@ActiveChain\(\)\.Height\(\)@ActiveHeight()@g' arc lint -END VERIFY SCRIPT-
This is a backport of core#21866 [7/12]
https://github.com/bitcoin/bitcoin/pull/21866/commits/6c15de129cd645bf0547cb184003fae131b95b83
Test Plan: ninja check
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D11683