]> git.bitcoin.ninja Git - rust-lightning/commit
Correct send-bounding logic in `TestRoutingMessageHandler`
authorMatt Corallo <git@bluematt.me>
Mon, 25 Oct 2021 21:51:08 +0000 (21:51 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 25 Oct 2021 21:51:52 +0000 (21:51 +0000)
commit10580f55aa64a94dac47a0a90756b3499a742e39
tree44ea65a193a648f874753a98123e94fa9b5b1ac5
parent2bf39a663b0461c2b7ef50e423baddfec826f537
Correct send-bounding logic in `TestRoutingMessageHandler`

The `cmp::min` appeared to confused `end` for a count.
lightning/src/util/test_utils.rs