Re-add one-hop onion message fuzzing test
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 18 Oct 2023 21:28:54 +0000 (16:28 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 25 Oct 2023 23:13:10 +0000 (18:13 -0500)
commitbb1a4f555691f94d0f66f586cd2d206cb61602cd
tree4e6f5862573ae3b924066f1e60e9dcb2a5a63a02
parentc0bf030ad29a7df4edc5337f50723fe99f88940d
Re-add one-hop onion message fuzzing test

Revert fuzz test removal in 6dc42235baaa22320ad78d3e05fab31edad99328.
The test originally checked that OnionMessenger would fail for one-hop
blinded paths. The commit added support for such paths, but changing the
checks was not sufficient since the node was not connected to the
introduction node of the reply path. This is required in order to work
with the trivial TestMessageRouter. Fix this by explicitly connecting
the nodes.
fuzz/src/onion_message.rs