(output)
| 583 | fundingtx = l1.bitcoin.rpc.decoderawtransaction(res['fundingtx']) |
| 584 | |
| 585 | def is_p2tr(output): |
| 586 | return output['type'] == 'witness_v1_taproot' and \ |
| 587 | address == scriptpubkey_addr(output) |
| 588 | |
| 589 | assert any(is_p2tr(output['scriptPubKey']) for output in wallettx['vout']) |
| 590 | assert only_one(fundingtx['vin'])['txid'] == res['wallettxid'] |
no test coverage detected