(output)
| 454 | fundingtx = l1.bitcoin.rpc.decoderawtransaction(res['fundingtx']) |
| 455 | |
| 456 | def is_p2wpkh(output): |
| 457 | return output['type'] == 'witness_v0_keyhash' and \ |
| 458 | address == scriptpubkey_addr(output) |
| 459 | |
| 460 | assert any(is_p2wpkh(output['scriptPubKey']) for output in wallettx['vout']) |
| 461 | assert only_one(fundingtx['vin'])['txid'] == res['wallettxid'] |
no test coverage detected