]> git.bitcoin.ninja Git - rust-lightning/commit
Check that we aren't reading a second message in BOLT 12 retry test
authorMatt Corallo <git@bluematt.me>
Thu, 12 Sep 2024 15:13:11 +0000 (15:13 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 30 Sep 2024 18:57:52 +0000 (18:57 +0000)
commitb8695b0c8347e5500ecd78a740247748669b3814
tree460389a1a70dcbc78c2fb411d0e4e2280ca51240
parent1059f5ffc55d3c21bf4d3ae82fe185f588a53116
Check that we aren't reading a second message in BOLT 12 retry test

`creates_and_pays_for_offer_with_retry` intends to check that we
re-send a BOLT 12 `invoice_request` in response to a
`message_received` call, but doesn't actually test that there were
no messages in the outbound buffer after the initial send, which we
do here.
lightning/src/ln/offers_tests.rs