Skip to content

Commit 930c085

Browse files
authored
Do not log recommended feerates message (#786)
It can get quite spammy as those messages are sent every block.
1 parent bb8949a commit 930c085

File tree

1 file changed

+1
-1
lines changed
  • modules/core/src/commonMain/kotlin/fr/acinq/lightning/io

1 file changed

+1
-1
lines changed

modules/core/src/commonMain/kotlin/fr/acinq/lightning/io/Peer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ class Peer(
11561156
return
11571157
}
11581158
val msg = cmd.msg
1159-
msg.let { if (it !is Ping && it !is Pong) logger.info { "received $it" } }
1159+
msg.let { if (it !is Ping && it !is Pong && it !is RecommendedFeerates) logger.info { "received $it" } }
11601160
when (msg) {
11611161
is UnknownMessage -> {
11621162
logger.warning { "unhandled code=${msg.type}" }

0 commit comments

Comments
 (0)