diff options
author | fanquake <fanquake@gmail.com> | 2020-10-17 09:56:32 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2020-10-17 10:37:01 +0800 |
commit | b3527fd2e9be5a94b84433ae229cdf0aaa2d3e7d (patch) | |
tree | 3bd1d89b44861702f1af69ba3caeba33b68f5ebf /COPYING | |
parent | 9e8d2bd076d78ba59abceb80106f44fe26246b14 (diff) | |
parent | fa68755364473e48cf039e8cc2d08036fe58c1f6 (diff) |
Merge #20168: contrib: Fix gen_key_io_test_vectors.py imports
fa68755364473e48cf039e8cc2d08036fe58c1f6 contrib: Fix gen_key_io_test_vectors.py imports (MarcoFalke)
Pull request description:
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
ACKs for top commit:
theStack:
tested ACK fa68755364473e48cf039e8cc2d08036fe58c1f6
Tree-SHA512: 45ff7d710de3d0ef5ac6d91543cff0edff6189d2cd00b0f8889f4361e66ef1825f12aea9e71d62038c14a7a531bfc95ffe9a1df83b85aa7f3dd666df07a6be81
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions