aboutsummaryrefslogtreecommitdiff
path: root/contrib/testgen
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-12-12 14:47:24 -0500
committerJohn Newbery <john@johnnewbery.com>2018-03-26 16:49:33 -0400
commitbc6fdf2d15648a5fc68df8021d9186737de6fe7b (patch)
treee1fdc67a24810e5fe061de69e5a6f0f55f10cbb2 /contrib/testgen
parentec7dbaa37c233599e9fc68f8284ee85c1261652b (diff)
Change all python files to use Python3
Diffstat (limited to 'contrib/testgen')
-rwxr-xr-xcontrib/testgen/gen_base58_test_vectors.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/testgen/gen_base58_test_vectors.py b/contrib/testgen/gen_base58_test_vectors.py
index 8e6a5d5819..af6d7e1112 100755
--- a/contrib/testgen/gen_base58_test_vectors.py
+++ b/contrib/testgen/gen_base58_test_vectors.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
# Copyright (c) 2012-2017 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
@@ -8,6 +8,8 @@ Generate valid and invalid base58 address and private key test vectors.
Usage:
gen_base58_test_vectors.py valid 50 > ../../src/test/data/base58_keys_valid.json
gen_base58_test_vectors.py invalid 50 > ../../src/test/data/base58_keys_invalid.json
+
+Note that this script is Python2 only, and will fail in Python3
'''
# 2012 Wladimir J. van der Laan
# Released under MIT License