Merge #10069: [QA] Fix typo in fundrawtransaction test

803e6a3 [QA] Fix typo in fundrawtransaction test (Nicolas Dorier)

Tree-SHA512: 7b88cf09d7e756f0f5535738993868287d4c7049db44072e318f48a9b08786bebb9877f787471bbf6aac58b3d709275eefa372d727f4afd6ded41494fe0024d1
This commit is contained in:
MarcoFalke 2017-03-25 16:10:44 +01:00
commit 111849345b
No known key found for this signature in database
GPG Key ID: D2EA4850E7528B25

View File

@ -472,7 +472,7 @@ class RawTransactionsTest(BitcoinTestFramework):
rawTx = self.nodes[1].createrawtransaction(inputs, outputs)
# fund a transaction that requires a new key for the change output
# creating the key must be impossible because the wallet is locked
assert_raises_jsonrpc(-4, "Insufficient funds", self.nodes[1].fundrawtransaction, rawtx)
assert_raises_jsonrpc(-4, "Keypool ran out, please call keypoolrefill first", self.nodes[1].fundrawtransaction, rawTx)
#refill the keypool
self.nodes[1].walletpassphrase("test", 100)