]> git.bitcoin.ninja Git - rust-lightning/commit
Add test for duplicate keysend payment
authorAlec Chen <alecchendev@gmail.com>
Mon, 22 May 2023 20:20:02 +0000 (15:20 -0500)
committerAlec Chen <alecchendev@gmail.com>
Fri, 9 Jun 2023 16:27:09 +0000 (11:27 -0500)
commit9db962c7192643d10722b7b675d45068e14407c8
treeabc127bf78d62027c79e01f9e0ad9cb22e47df8a
parent8dde17773ace41d2d0bac2493abf2b01db67bd84
Add test for duplicate keysend payment

The logic has been changed around duplicate keysend payments such that
it's no longer explicitly clear that we reject duplicate keysend
payments now that we handle receiving multi-part keysends. This test
catches that. Note that this also tests that we reject MPP keysends when
our config states we should, and that we reject MPP keysends without
payemnt secrets when our config states we support MPP keysends.
lightning/src/ln/channelmanager.rs