Do we have nothing in queue? */
| 474 | |
| 475 | /* Do we have nothing in queue? */ |
| 476 | static bool have_empty_encrypted_queue(const struct peer *peer) |
| 477 | { |
| 478 | return membuf_num_elems(&peer->encrypted_peer_out) == 0; |
| 479 | } |
| 480 | |
| 481 | /* Funny story: we discovered an LND bug, where they hung up if we sent |
| 482 | * "no reply" ping messages. This was fixed in (the upcoming) v21, which |