| 240 | } |
| 241 | |
| 242 | static u8 *test_peer_read(const tal_t *ctx, struct per_peer_state *pps) |
| 243 | { |
| 244 | u8 *msg = test_sync_read(ctx, pps->peer_fd); |
| 245 | if (!msg) |
| 246 | peer_failed_connection_lost(); |
| 247 | |
| 248 | status_peer_io(LOG_IO_IN, NULL, msg); |
| 249 | |
| 250 | return msg; |
| 251 | } |
| 252 | |
| 253 | void test_validate_initial_commitment_signature(int hsm_fd, |
| 254 | struct bitcoin_tx *tx, |
nothing calls this directly
no test coverage detected