Skip to content

Commit

Permalink
fixup! Set anchor output feerates when force-closing
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bast committed Feb 22, 2021
1 parent 5a59f41 commit e61504c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,8 @@ class AnchorOutputChannelIntegrationSpec extends ChannelIntegrationSpec {
val stateListener = TestProbe()
nodes("C").system.eventStream.subscribe(stateListener.ref, classOf[ChannelStateChanged])

// we kill the connection between C and F to ensure the close can only be detected on-chain
disconnectCF(channelId, sender)
// now let's force close the channel and check the toRemote is what we had at the beginning
sender.send(nodes("F").register, Register.Forward(sender.ref, channelId, CMD_FORCECLOSE(sender.ref)))
sender.expectMsgType[RES_SUCCESS[CMD_FORCECLOSE]]
Expand Down

0 comments on commit e61504c

Please sign in to comment.