HomePhabricator

Refactor ZapWalletTxes to avoid layer violations

Description

Refactor ZapWalletTxes to avoid layer violations

Summary:
Backport of core's PR9143

Depends on D907

Test Plan:

make check

Reviewers: schancel, #bitcoin_abc

Reviewed By: schancel, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D908