mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Test that default permitsigdata is false
This commit is contained in:
parent
c8525c9387
commit
794c305cdd
1 changed files with 1 additions and 0 deletions
|
|
@ -106,6 +106,7 @@ class PSBTTest(BitcoinTestFramework):
|
|||
|
||||
# Make sure that a psbt with signatures cannot be converted
|
||||
signedtx = self.nodes[0].signrawtransactionwithwallet(rawtx['hex'])
|
||||
assert_raises_rpc_error(-22, "Inputs must not have scriptWitnesses", self.nodes[0].converttopsbt, signedtx['hex'], False)
|
||||
assert_raises_rpc_error(-22, "Inputs must not have scriptWitnesses", self.nodes[0].converttopsbt, signedtx['hex'])
|
||||
|
||||
# Explicitly allow converting non-empty txs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue