Correct and use ChannelManagerConstructor in HumanObjectPeerTest
authorMatt Corallo <git@bluematt.me>
Mon, 27 Sep 2021 23:31:55 +0000 (23:31 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 28 Sep 2021 04:46:58 +0000 (04:46 +0000)
commitdcf0b16cdb47d6a67c184959cc409aa5a900db69
tree9d7438f8fdc3e6099ba7905bd255884976cf710d
parent7aa095f42a570229656ab5fade9d966823b72e06
Correct and use ChannelManagerConstructor in HumanObjectPeerTest

When ChannelManagerConstructor support was added, the test loop
bounds were never updated to actually test it. This corrects that
(and a few regressions that snuck in over time).

Memory leaks during tests are now:
    249 allocations remained for 1146062 bytes.
src/test/java/org/ldk/HumanObjectPeerTest.java