diff options
author | MarcoFalke <falke.marco@gmail.com> | 2016-03-19 20:58:06 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2016-05-05 15:43:37 +0200 |
commit | fa389d4edc367073e2ccc6d1f0790c4b72ba17f2 (patch) | |
tree | 3bc22860769bb62b3679dbd185940cf3df9f890e /qa/rpc-tests/bip65-cltv.py | |
parent | 3b9a0bf41f2336b09e854522ab1ce6dcfc7a3050 (diff) |
[qa] Switch to py3
Diffstat (limited to 'qa/rpc-tests/bip65-cltv.py')
-rwxr-xr-x | qa/rpc-tests/bip65-cltv.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qa/rpc-tests/bip65-cltv.py b/qa/rpc-tests/bip65-cltv.py index f666a07c9b..9d83fc947b 100755 --- a/qa/rpc-tests/bip65-cltv.py +++ b/qa/rpc-tests/bip65-cltv.py @@ -1,5 +1,5 @@ -#!/usr/bin/env python2 -# Copyright (c) 2015 The Bitcoin Core developers +#!/usr/bin/env python3 +# Copyright (c) 2015-2016 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -32,7 +32,7 @@ class BIP65Test(BitcoinTestFramework): raise AssertionError("Failed to mine 100 version=3 blocks") # Mine 750 new-version blocks - for i in xrange(15): + for i in range(15): self.nodes[2].generate(50) self.sync_all() if (self.nodes[0].getblockcount() != cnt + 850): @@ -49,7 +49,7 @@ class BIP65Test(BitcoinTestFramework): # TODO: check that new CHECKLOCKTIMEVERIFY rules are enforced # Mine 198 new-version blocks - for i in xrange(2): + for i in range(2): self.nodes[2].generate(99) self.sync_all() if (self.nodes[0].getblockcount() != cnt + 1049): |