```
-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