Skip to content

Commit 758e43a

Browse files
authored
Fix tests (#227)
Merging PR #224 broke the test suite, because it added a test case that conflicted with PR #225 but was not detected as a merge conflict because it was completely new code.
1 parent 4343838 commit 758e43a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commonTest/kotlin/fr/acinq/eclair/wire/LightningCodecsTestsCommon.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ class LightningCodecsTestsCommon : EclairTestSuite() {
471471
fun `encode - decode channel_announcement`() {
472472
val testCases = listOf(
473473
ChannelAnnouncement(randomBytes64(), randomBytes64(), randomBytes64(), randomBytes64(), Features(Hex.decode("09004200")), randomBytes32(), ShortChannelId(42), randomKey().publicKey(), randomKey().publicKey(), randomKey().publicKey(), randomKey().publicKey()),
474-
ChannelAnnouncement(randomBytes64(), randomBytes64(), randomBytes64(), randomBytes64(), Features(emptySet()), randomBytes32(), ShortChannelId(42), randomKey().publicKey(), randomKey().publicKey(), randomKey().publicKey(), randomKey().publicKey(), ByteVector("01020304")),
474+
ChannelAnnouncement(randomBytes64(), randomBytes64(), randomBytes64(), randomBytes64(), Features(mapOf()), randomBytes32(), ShortChannelId(42), randomKey().publicKey(), randomKey().publicKey(), randomKey().publicKey(), randomKey().publicKey(), ByteVector("01020304")),
475475
)
476476

477477
testCases.forEach {

0 commit comments

Comments
 (0)