aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpc_fundrawtransaction.py
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2019-10-23 15:11:25 +0200
committerSjors Provoost <sjors@sprovoost.nl>2020-02-04 11:20:25 +0100
commit709f8685ac37510aa145ac259753583c82280038 (patch)
treecd2ca5aa826166b1fc059d21402c0e6e0e7ebc0b /test/functional/rpc_fundrawtransaction.py
parent5efc25f9638866941028454cfa9bae27f1519cb4 (diff)
downloadbitcoin-709f8685ac37510aa145ac259753583c82280038.tar.xz
[wallet] CreateTransaction: simplify change address check
Diffstat (limited to 'test/functional/rpc_fundrawtransaction.py')
-rwxr-xr-xtest/functional/rpc_fundrawtransaction.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/rpc_fundrawtransaction.py b/test/functional/rpc_fundrawtransaction.py
index 6f1ae0d3ba..8a2dc7e916 100755
--- a/test/functional/rpc_fundrawtransaction.py
+++ b/test/functional/rpc_fundrawtransaction.py
@@ -504,7 +504,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_rpc_error(-4, "Keypool ran out, please call keypoolrefill first", self.nodes[1].fundrawtransaction, rawtx)
+ assert_raises_rpc_error(-4, "Can't generate a change-address key. Please call keypoolrefill first.", self.nodes[1].fundrawtransaction, rawtx)
# Refill the keypool.
self.nodes[1].walletpassphrase("test", 100)