Skip to content

Commit afa378f

Browse files
authored
Fix Bolt 3 spec change that broke our test suite (#1719)
We just merged lightning/bolts@b201efe in the spec which added Bolt 3 tests, invalidating one of our tests and failing the build.
1 parent 844829a commit afa378f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eclair-core/src/test/scala/fr/acinq/eclair/transactions/TransactionsSpec.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ class TransactionsSpec extends AnyFunSuite with Logging {
784784
TestVector(name, CommitmentSpec(htlcs, FeeratePerKw(feerate_per_kw.toLong.sat), MilliSatoshi(to_local_msat.toLong), MilliSatoshi(to_remote_msat.toLong)), Satoshi(fee.toLong))
785785
}).toSeq
786786

787-
assert(tests.size === 15, "there were 15 tests at ec99f893f320e8c88f564c1c8566f3454f0f1f5f") // simple non-reg to make sure we are not missing tests
787+
assert(tests.size === 30, "there were 15 tests at b201efe0546120c14bf154ce5f4e18da7243fe7a") // simple non-reg to make sure we are not missing tests
788788
tests.foreach(test => {
789789
logger.info(s"running BOLT 3 test: '${test.name}'")
790790
val fee = commitTxFee(dustLimit, test.spec, DefaultCommitmentFormat)

0 commit comments

Comments
 (0)