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 and pm47 committed Apr 1, 2021
1 parent 7d3dca6 commit 88dd722
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -424,9 +424,7 @@ class TransactionsSpec extends AnyFunSuite with Logging {
TestSetup(name, dustLimit, CommitmentSpec(htlcs = htlcs, feeratePerKw = feerate_per_kw.toLong, toLocal = MilliSatoshi(to_local_msat.toLong), toRemote = MilliSatoshi(to_remote_msat.toLong)), Satoshi(fee.toLong))
}).toSeq

// simple non-reg test making sure we are not missing tests
assert(tests.size === 15, "there were 15 tests at ec99f893f320e8c88f564c1c8566f3454f0f1f5f")

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 2 test: '${test.name}'")
val fee = commitTxFee(test.dustLimit, test.spec)
Expand Down

0 comments on commit 88dd722

Please sign in to comment.