We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b142f79 commit c2fbdcaCopy full SHA for c2fbdca
test/functional/rpc_invalid_address_message.py
@@ -57,6 +57,10 @@ def test_validateaddress(self):
57
assert info['isvalid']
58
assert 'error' not in info
59
60
+ info = node.validateaddress(BECH32_INVALID_VERSION)
61
+ assert not info['isvalid']
62
+ assert_equal(info['error'], 'Invalid Bech32 address witness version')
63
+
64
# Base58
65
info = node.validateaddress(BASE58_INVALID_PREFIX)
66
assert not info['isvalid']
0 commit comments