aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/listtransactions.py
diff options
context:
space:
mode:
authorptschip <peter.tschipper@gmail.com>2015-12-05 09:02:02 -0800
committerptschip <peter.tschipper@gmail.com>2015-12-15 07:41:44 -0800
commit39a525c21fd1b34df63ab30868423b97b708ee49 (patch)
tree4038a44ae37cf99b701af04523208125a4fcae42 /qa/rpc-tests/listtransactions.py
parent7a5040155ed59f8c9c51734bb2ee29f1593eaa6a (diff)
Do not download transactions during inital sync
Diffstat (limited to 'qa/rpc-tests/listtransactions.py')
-rwxr-xr-xqa/rpc-tests/listtransactions.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/qa/rpc-tests/listtransactions.py b/qa/rpc-tests/listtransactions.py
index b30a6bc9d1..c54a253908 100755
--- a/qa/rpc-tests/listtransactions.py
+++ b/qa/rpc-tests/listtransactions.py
@@ -32,6 +32,11 @@ def check_array_result(object_array, to_match, expected):
class ListTransactionsTest(BitcoinTestFramework):
+ def setup_nodes(self):
+ #This test requires mocktime
+ enable_mocktime()
+ return start_nodes(4, self.options.tmpdir)
+
def run_test(self):
# Simple send, 0 to 1:
txid = self.nodes[0].sendtoaddress(self.nodes[1].getnewaddress(), 0.1)