Browse Source

Merge #9309: [qa] Wallet needs to stay unlocked for whole test

9359f8a Wallet needs to stay unlocked for whole test (Alex Morcos)
pull/1/head
MarcoFalke 6 years ago
parent
commit
76fcd9d503
No known key found for this signature in database
GPG Key ID: 2D7F2372E50FE137
  1. 2
      qa/rpc-tests/fundrawtransaction.py

2
qa/rpc-tests/fundrawtransaction.py

@ -515,7 +515,7 @@ class RawTransactionsTest(BitcoinTestFramework): @@ -515,7 +515,7 @@ class RawTransactionsTest(BitcoinTestFramework):
fundedTx = self.nodes[1].fundrawtransaction(rawTx)
#now we need to unlock
self.nodes[1].walletpassphrase("test", 100)
self.nodes[1].walletpassphrase("test", 600)
signedTx = self.nodes[1].signrawtransaction(fundedTx['hex'])
txId = self.nodes[1].sendrawtransaction(signedTx['hex'])
self.nodes[1].generate(1)

Loading…
Cancel
Save