aboutsummaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2017-02-07 11:08:08 -0500
committerRussell Yanofsky <russ@yanofsky.org>2017-02-10 15:40:28 -0500
commit266a8114cbe2a87a6c84d7690a7716a18d782c56 (patch)
tree772a6f3de292c0c246d151ab23babce021f21748 /qa
parent3cf991756cf357b651c6415e3d950e5aa9d355ab (diff)
Use MTP for importmulti "now" timestamps
Diffstat (limited to 'qa')
-rwxr-xr-xqa/rpc-tests/importmulti.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/importmulti.py b/qa/rpc-tests/importmulti.py
index b9874ccb85..52e40d6c1c 100755
--- a/qa/rpc-tests/importmulti.py
+++ b/qa/rpc-tests/importmulti.py
@@ -139,7 +139,7 @@ class ImportMultiTest (BitcoinTestFramework):
# Address + Private key + !watchonly
print("Should import an address with private key")
address = self.nodes[0].validateaddress(self.nodes[0].getnewaddress())
- timestamp = self.nodes[1].getblock(self.nodes[1].getbestblockhash())['time']
+ timestamp = self.nodes[1].getblock(self.nodes[1].getbestblockhash())['mediantime']
result = self.nodes[1].importmulti([{
"scriptPubKey": {
"address": address['address']