Commit 4220388
committed
Disable chan announce re-broadcast when
In our upgrade/downgrade tests we want to be able to use the
functional test utils as-is externally as a part of CI in later
LDK versions. This implies that code that is `cfg(test)` really
needs to always be `cfg(any(test, feature = "_test_utils"))`.
Sadly, trying to open multiple channels back-to-back on a node
with `_test_utils` currently fails as we re-broadcast channel
announcement messages, something the functional test utils does not
expect.
Here we update the `cfg`-flagging of that rebroadcast logic to fix
back-to-back channel opens in `_test_utils`.
This narrowly backports one hunk of the much larger upstream
commit e41e756._test_utils feat is on1 parent 5ba2b0a commit 4220388
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11365 | 11365 | | |
11366 | 11366 | | |
11367 | 11367 | | |
11368 | | - | |
| 11368 | + | |
11369 | 11369 | | |
11370 | 11370 | | |
11371 | 11371 | | |
| |||
0 commit comments