contrib: Fix gen_key_io_test_vectors.py imports #20168

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2010-contribTestGen changing 1 files +3 −6
  1. MarcoFalke commented at 11:51 AM on October 16, 2020: member

    The script currently fails with

    Traceback (most recent call last):
      File "./gen_key_io_test_vectors.py", line 18, in <module>
        from segwit_addr import bech32_encode, decode, convertbits, CHARSET
    ImportError: cannot import name 'decode' from 'segwit_addr'
    

    Fix that. Also, unrelated cleanup to use the bytearray.hex() method instead of importing a library. https://docs.python.org/3.5/library/stdtypes.html#bytes.hex

  2. contrib: Fix gen_key_io_test_vectors.py imports fa68755364
  3. fanquake added the label Scripts and tools on Oct 16, 2020
  4. theStack approved
  5. theStack commented at 4:42 PM on October 16, 2020: member

    tested ACK fa68755364473e48cf039e8cc2d08036fe58c1f6

  6. fanquake merged this on Oct 17, 2020
  7. fanquake closed this on Oct 17, 2020

  8. sidhujag referenced this in commit 7440aa625c on Oct 17, 2020
  9. fanquake deleted a comment on Oct 17, 2020
  10. fanquake locked this on Oct 17, 2020
  11. MarcoFalke deleted the branch on Oct 17, 2020

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 06:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me