File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -398,5 +398,13 @@ def run_test(self):
398398 info2 = self .nodes [0 ].getaddressinfo (self .nodes [0 ].getrawchangeaddress ("blech32" ))
399399 assert (len (info2 ["confidential_key" ]) > 0 )
400400
401+ # taproot (segwit v1) address parsing test
402+ # We will use a hardcoded placeholder for now, until we can have the test use the wallet to generate one.
403+ # This functions as a regression test for #1181.
404+ tap_addr = "el1pqwp9ze75659cn5ad0hw25nt2kv7j882gudn636hnh4qvjcmjh6jq5ca0d4cgl009m5rn5w0n3k2cqa3ths2qf7s8q6x2xplwgvlfhg0atxwjah9089tf"
405+ info3 = self .nodes [0 ].getaddressinfo (tap_addr )
406+ assert_equal (tap_addr , info3 ["address" ])
407+ assert (len (info3 ["confidential_key" ]) > 0 )
408+
401409if __name__ == '__main__' :
402410 AddressTypeTest ().main ()
You can’t perform that action at this time.
0 commit comments