aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorAurèle Oulès <aurele@oules.com>2022-10-04 14:17:11 +0200
committerAurèle Oulès <aurele@oules.com>2022-12-05 19:32:11 +0100
commit6b563cae92957dc30dc35103a7c321fdb0115ef3 (patch)
treec5c1b2cffe292a60c9be010733758c1a93851b1e /test/functional
parent7734a0160debfeea039b77cca1366cd9ee83feb6 (diff)
wallet: Check max tx weight in coin selector
Co-authored-by: Andrew Chow <github@achow101.com>
Diffstat (limited to 'test/functional')
-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 6874154f35..bf218bfee9 100755
--- a/test/functional/rpc_fundrawtransaction.py
+++ b/test/functional/rpc_fundrawtransaction.py
@@ -987,7 +987,7 @@ class RawTransactionsTest(BitcoinTestFramework):
outputs[recipient.getnewaddress()] = 0.1
wallet.sendmany("", outputs)
self.generate(self.nodes[0], 10)
- assert_raises_rpc_error(-4, "Transaction too large", recipient.fundrawtransaction, rawtx)
+ assert_raises_rpc_error(-4, "Insufficient funds", recipient.fundrawtransaction, rawtx)
self.nodes[0].unloadwallet("large")
def test_external_inputs(self):