From afa378fbb73c265da44856b4ad0f2128a88ae6c6 Mon Sep 17 00:00:00 2001 From: Bastien Teinturier <31281497+t-bast@users.noreply.github.com> Date: Fri, 5 Mar 2021 13:48:31 +0100 Subject: [PATCH] Fix Bolt 3 spec change that broke our test suite (#1719) We just merged lightningnetwork/lightning-rfc@b201efe in the spec which added Bolt 3 tests, invalidating one of our tests and failing the build. --- .../scala/fr/acinq/eclair/transactions/TransactionsSpec.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclair-core/src/test/scala/fr/acinq/eclair/transactions/TransactionsSpec.scala b/eclair-core/src/test/scala/fr/acinq/eclair/transactions/TransactionsSpec.scala index b02714d505..720eb16475 100644 --- a/eclair-core/src/test/scala/fr/acinq/eclair/transactions/TransactionsSpec.scala +++ b/eclair-core/src/test/scala/fr/acinq/eclair/transactions/TransactionsSpec.scala @@ -784,7 +784,7 @@ class TransactionsSpec extends AnyFunSuite with Logging { TestVector(name, CommitmentSpec(htlcs, FeeratePerKw(feerate_per_kw.toLong.sat), MilliSatoshi(to_local_msat.toLong), MilliSatoshi(to_remote_msat.toLong)), Satoshi(fee.toLong)) }).toSeq - assert(tests.size === 15, "there were 15 tests at ec99f893f320e8c88f564c1c8566f3454f0f1f5f") // simple non-reg to make sure we are not missing tests + assert(tests.size === 30, "there were 15 tests at b201efe0546120c14bf154ce5f4e18da7243fe7a") // simple non-reg to make sure we are not missing tests tests.foreach(test => { logger.info(s"running BOLT 3 test: '${test.name}'") val fee = commitTxFee(dustLimit, test.spec, DefaultCommitmentFormat)