Skip to content

Commit

Permalink
Fix fee test (once spec PR merged)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bast committed Jun 22, 2021
1 parent c1349dd commit a75b9d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ class TransactionsSpec extends AnyFunSuite with Logging {
""".*base commitment transaction fee = ([0-9]+)\n""" +
"""[^$]+""").r
// this regex extracts htlc direction and amounts
val htlcRegex = """.*HTLC [0-9] ([a-z]+) amount ([0-9]+).*""".r
val htlcRegex = """.*HTLC #[0-9] ([a-z]+) amount ([0-9]+).*""".r
val tests = testRegex.findAllIn(bolt3).map(s => {
val testRegex(name, to_local_msat, to_remote_msat, feerate_per_kw, fee) = s
val htlcs = htlcRegex.findAllIn(s).map(l => {
Expand Down

0 comments on commit a75b9d4

Please sign in to comment.