diff options
author | Reese Russell <reese.russell@ymail.com> | 2023-05-25 01:23:04 +0000 |
---|---|---|
committer | Reese Russell <reese.russell@ymail.com> | 2023-05-25 06:30:10 +0000 |
commit | 3d0a5c37e9ccedfa4ecfaa48eeeca1ada5b4eec1 (patch) | |
tree | d0c300699d6540da538888fc16efb62f3fb8539b /test/functional/rpc_validateaddress.py | |
parent | a13f3746dccd9c4ec16d6bfe9b33ebd26e3238e1 (diff) | |
download | bitcoin-3d0a5c37e9ccedfa4ecfaa48eeeca1ada5b4eec1.tar.xz |
use 'byte'/'bytes' for bech32(m) validation error
changed from std::string -> std::string_view
applied snake case to byteStr -> byte_str
Diffstat (limited to 'test/functional/rpc_validateaddress.py')
-rwxr-xr-x | test/functional/rpc_validateaddress.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/rpc_validateaddress.py b/test/functional/rpc_validateaddress.py index 2ce6b35d04..d87ba098c3 100755 --- a/test/functional/rpc_validateaddress.py +++ b/test/functional/rpc_validateaddress.py @@ -33,7 +33,7 @@ INVALID_DATA = [ ), ( "BC1QR508D6QEJXTDG4Y5R3ZARVARYV98GJ9P", - "Invalid Bech32 v0 address program size (16 byte), per BIP141", + "Invalid Bech32 v0 address program size (16 bytes), per BIP141", [], ), ( @@ -101,12 +101,12 @@ INVALID_DATA = [ ("bc1pw5dgrnzv", "Invalid Bech32 address program size (1 byte)", []), ( "bc1p0xlxvlhemja6c4dqv22uapctqupfhlxm9h8z3k2e72q4k9hcz7v8n0nx0muaewav253zgeav", - "Invalid Bech32 address program size (41 byte)", + "Invalid Bech32 address program size (41 bytes)", [], ), ( "BC1QR508D6QEJXTDG4Y5R3ZARVARYV98GJ9P", - "Invalid Bech32 v0 address program size (16 byte), per BIP141", + "Invalid Bech32 v0 address program size (16 bytes), per BIP141", [], ), ( |