@ -109,7 +109,7 @@ class WalletDescriptorTest(BitcoinTestFramework):
# Make sure things are disabled
self.log.info("Test disabled RPCs")
assert_raises_rpc_error(-4,"Only legacy wallets are supported by this command",recv_wrpc.rpc.importprivkey,"cVpF924EspNh8KjYsfhgY96mmxvT6DgdWiTYMtMjuM74hJaU5psW")
assert_raises_rpc_error(-4,"Only legacy wallets are supported by this command",recv_wrpc.rpc.importpubkey,send_wrpc.getaddressinfo(send_wrpc.getnewaddress()))
assert_raises_rpc_error(-4,"Only legacy wallets are supported by this command",recv_wrpc.rpc.importpubkey,send_wrpc.getaddressinfo(send_wrpc.getnewaddress())["pubkey"])
assert_raises_rpc_error(-4,"Only legacy wallets are supported by this command",recv_wrpc.rpc.importaddress,recv_wrpc.getnewaddress())
assert_raises_rpc_error(-4,"Only legacy wallets are supported by this command",recv_wrpc.rpc.importmulti,[])
assert_raises_rpc_error(-4,"Only legacy wallets are supported by this command",recv_wrpc.rpc.addmultisigaddress,1,[recv_wrpc.getnewaddress()])