(n, lookedup)
| 2994 | utxo_lookups = set() |
| 2995 | |
| 2996 | def _verify_utxos(n, lookedup): |
| 2997 | # Build a set of outpoints for node (l2) |
| 2998 | outs = {(out['txid'], out['output']) for out in n.rpc.listfunds()['outputs']} |
| 2999 | # Confirm that seen utxo lookups are a subset of l2's outpoints |
| 3000 | assert lookedup <= outs |
| 3001 | lookedup.clear() |
| 3002 | |
| 3003 | def _no_utxo_response(r): |
| 3004 | utxo_lookups.add(tuple(r['params'])) |
no test coverage detected