mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
test: fix surjectionproof overflow functional test for new RPC changes
This fixes an undetected merge conflict between #1014 and #900.
This commit is contained in:
parent
d973e1105d
commit
c0936ba2a3
1 changed files with 2 additions and 2 deletions
|
|
@ -985,11 +985,11 @@ class RawTransactionsTest(BitcoinTestFramework):
|
||||||
|
|
||||||
# ...and try to send them all in one transaction
|
# ...and try to send them all in one transaction
|
||||||
# This should fail but we should not see an assertation failure.
|
# 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)
|
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.
|
# 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):
|
for i in range(0, 2):
|
||||||
fundedtx = recipient.fundrawtransaction(rawtx)
|
fundedtx = recipient.fundrawtransaction(rawtx)
|
||||||
blindedtx = recipient.blindrawtransaction(fundedtx['hex'])
|
blindedtx = recipient.blindrawtransaction(fundedtx['hex'])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue