RPCOverloadWrapper
implemented overloads for legacy wallet only RPCs so that the same function call could be used within tests for both legacy wallets and descriptor wallets. With legacy wallets now removed, there is no need to continue to have these overloads.
For importaddress
, addmultisigaddress
, and importpubkey
, the uses of these are converted to importdescriptors
.
For importprivkey
, a new helper function wallet_imporprivkey
is introduced that does what the overload did. This is mainly to reduce verbosity as importprivkey
was more widely used throughout the tests.
Some tests that used these RPCs are now also no longer relevant and have been removed.