[backport#10973] Remove remaining wallet accesses to node globals
Summary:
https://github.com/bitcoin/bitcoin/pull/10973/commits/d358466de15ef29c1d2bccb9aebab360d574d1d0 Remove remaining wallet accesses to node globals (Russell Yanofsky)
Depends on D5927, completes T601
This is a partial backport of Core PR10973
Test Plan:
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Debug ninja check check-functional
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Subscribers: Fabien
Differential Revision: https://reviews.bitcoinabc.org/D5943