[backport#17304 9/18] Refactor: Move SetAddressBookWithDB call out of LegacyScriptPubKeyMan::ImportScriptPubKeys
Summary:
This commit does not change behavior.
https://github.com/bitcoin/bitcoin/pull/17304/commits/67be6b9e213da1fd7b2e8438c445c5a64092e831
Depends on D7155
Partial backport of Core PR17304
Test Plan:
ninja check
Reviewers: #bitcoin_abc, jasonbcox
Reviewed By: #bitcoin_abc, jasonbcox
Differential Revision: https://reviews.bitcoinabc.org/D7156