]> git.bitcoin.ninja Git - rust-lightning/commit
Assert on correct registeration of outputs index
authorAntoine Riard <ariard@student.42.fr>
Fri, 9 Oct 2020 00:59:21 +0000 (20:59 -0400)
committerAntoine Riard <ariard@student.42.fr>
Wed, 14 Oct 2020 13:23:56 +0000 (09:23 -0400)
commit27ee1150dd39dc2fe72ad7f4b0a040fe510fa0da
tree38878480fd00853de85340930fc1baafdd9d07fa
parent613ac6e5f09dc57013baeaa8592d4ff44ac7a35e
Assert on correct registeration of outputs index

We remove test_no_failure_dust_htlc_local_commitment from our test
framework as this test deliberately throwing junk transaction in
our monitoring parsing code is hitting new assertions.

This test was added in #333, but it sounds as an oversight as the
correctness intention of this test (i.e verifying lack of dust
HTLCs canceling back in case of junk commitment transaction) doesn't
currently break.
lightning/src/chain/channelmonitor.rs
lightning/src/ln/functional_tests.rs