Bugfix: test/functional/rpc_psbt: Correct test description comment
This commit is contained in:
parent
097c4aa379
commit
c87fc71f7e
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ class PSBTTest(BitcoinTestFramework):
|
||||||
new_psbt = self.nodes[0].converttopsbt(rawtx['hex'])
|
new_psbt = self.nodes[0].converttopsbt(rawtx['hex'])
|
||||||
self.nodes[0].decodepsbt(new_psbt)
|
self.nodes[0].decodepsbt(new_psbt)
|
||||||
|
|
||||||
# Make sure that a psbt with signatures cannot be converted
|
# Make sure that a non-psbt with signatures cannot be converted
|
||||||
# Error could be either "TX decode failed" (segwit inputs causes parsing to fail) or "Inputs must not have scriptSigs and scriptWitnesses"
|
# Error could be either "TX decode failed" (segwit inputs causes parsing to fail) or "Inputs must not have scriptSigs and scriptWitnesses"
|
||||||
signedtx = self.nodes[0].signrawtransactionwithwallet(rawtx['hex'])
|
signedtx = self.nodes[0].signrawtransactionwithwallet(rawtx['hex'])
|
||||||
assert_raises_rpc_error(-22, "", self.nodes[0].converttopsbt, signedtx['hex'])
|
assert_raises_rpc_error(-22, "", self.nodes[0].converttopsbt, signedtx['hex'])
|
||||||
|
|
Loading…
Reference in a new issue