Skip to content

Commit

Permalink
Fix Bolt 3 spec change that broke our test suite (#1719)
Browse files Browse the repository at this point in the history
We just merged lightning/bolts@b201efe in the spec
which added Bolt 3 tests, invalidating one of our tests and failing the build.
  • Loading branch information
t-bast authored Mar 5, 2021
1 parent 844829a commit afa378f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit afa378f

Please sign in to comment.