Skip to content

Commit

Permalink
Fix comment typo in relayer spec
Browse files Browse the repository at this point in the history
  • Loading branch information
remyers committed Sep 29, 2022
1 parent 4c0b4d2 commit f670676
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ class NodeRelayerSpec extends ScalaTestWithActorTestKit(ConfigFactory.load("appl
incomingAsyncPayment.foreach(p => nodeRelayer ! NodeRelay.Relay(p))
mockPayFSM.expectNoMessage(100 millis) // we should NOT trigger a downstream payment before we received a complete upstream payment

// publish block height one block before the cancel-safety-before-timeout-block interval before the current incoming payment expiry
// publish block height at the cancel-safety-before-timeout-block threshold before the current incoming payment expiry
assert(asyncTimeoutHeight(nodeParams) > asyncSafetyHeight(incomingAsyncPayment, nodeParams))
system.eventStream ! EventStream.Publish(CurrentBlockHeight(asyncSafetyHeight(incomingAsyncPayment, nodeParams)))

Expand Down

0 comments on commit f670676

Please sign in to comment.