diff --git a/test/functional/wallet_createwalletdescriptor.py b/test/functional/wallet_createwalletdescriptor.py index e8cd914769d0b7..8156f051ab3316 100755 --- a/test/functional/wallet_createwalletdescriptor.py +++ b/test/functional/wallet_createwalletdescriptor.py @@ -44,6 +44,7 @@ def test_basic(self): assert_raises_rpc_error(-5, "Unable to determine which HD key to use from active descriptors. Please specify with 'hdkey'", wallet.createwalletdescriptor, "bech32") assert_raises_rpc_error(-5, f"Private key for {xpub} is not known", wallet.createwalletdescriptor, type="bech32", hdkey=xpub) + assert_raises_rpc_error(-5, "Unknown address type 'bech32n'", wallet.createwalletdescriptor, type="bech32n") self.log.info("Test createwalletdescriptor after importing active descriptor to blank wallet") # Import one active descriptor