Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions eclair-core/src/main/scala/fr/acinq/eclair/io/Peer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,10 @@ class Peer(val nodeParams: NodeParams,
replyTo_opt.foreach(_ ! MessageRelay.Sent(messageId))
stay()

case Event(msg: RecommendedFeerates, _) =>
log.info("our peer recommends the following feerates: funding={}, commitment={}", msg.fundingFeerate, msg.commitmentFeerate)
stay()

case Event(unknownMsg: UnknownMessage, d: ConnectedData) if nodeParams.pluginMessageTags.contains(unknownMsg.tag) =>
context.system.eventStream.publish(UnknownMessageReceived(self, remoteNodeId, unknownMsg, d.connectionInfo))
stay()
Expand Down Expand Up @@ -623,10 +627,6 @@ class Peer(val nodeParams: NodeParams,
stay()
}

case Event(msg: RecommendedFeerates, _) =>
log.info("our peer recommends the following feerates: funding={}, commitment={}", msg.fundingFeerate, msg.commitmentFeerate)
stay()

case Event(current: CurrentBlockHeight, d) =>
// If we have pending will_add_htlc that are timing out, it doesn't make any sense to keep them, even if we have
// already funded the corresponding channel: our peer will force-close if we relay them.
Expand Down
Loading