From c0936ba2a32242b02e2abc73b1f9b7b8b6219db2 Mon Sep 17 00:00:00 2001 From: Andrew Poelstra Date: Tue, 31 Aug 2021 16:00:47 +0000 Subject: [PATCH] test: fix surjectionproof overflow functional test for new RPC changes This fixes an undetected merge conflict between #1014 and #900. --- test/functional/rpc_fundrawtransaction.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/rpc_fundrawtransaction.py b/test/functional/rpc_fundrawtransaction.py index 635386e28c..be0f00eb3e 100755 --- a/test/functional/rpc_fundrawtransaction.py +++ b/test/functional/rpc_fundrawtransaction.py @@ -985,11 +985,11 @@ def test_surjectionproof_many_inputs(self): # ...and try to send them all in one transaction # This should fail but we should not see an assertation failure. - rawtx = recipient.createrawtransaction([], {wallet.getnewaddress(): 49.99}) + rawtx = recipient.createrawtransaction([], [{wallet.getnewaddress(): 49.99}]) assert_raises_rpc_error(-4, "Unable to blind the transaction properly. This should not happen.", recipient.fundrawtransaction, rawtx) # Try to send them across two transactions. This should succeed. - rawtx = recipient.createrawtransaction([], {wallet.getnewaddress(): 24.99}) + rawtx = recipient.createrawtransaction([], [{wallet.getnewaddress(): 24.99}]) for i in range(0, 2): fundedtx = recipient.fundrawtransaction(rawtx) blindedtx = recipient.blindrawtransaction(fundedtx['hex'])