Skip to content

Commit 584b7d8

Browse files
committed
f update error message
1 parent 3a4de75 commit 584b7d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ impl<Signer: Sign> Channel<Signer> {
867867
// of 1.1 sat/vbyte and a receiver that wants 1.1 rounded up to 2. Thus, we always add 250
868868
// sat/kw before the comparison here.
869869
if feerate_per_kw + 250 < lower_limit {
870-
return Err(ChannelError::Close(format!("Peer's feerate much too low. Actual: {}. Our expected lower limit: {}", feerate_per_kw, lower_limit)));
870+
return Err(ChannelError::Close(format!("Peer's feerate much too low. Actual: {}. Our expected lower limit: {} (- 250)", feerate_per_kw, lower_limit)));
871871
}
872872
// We only bound the fee updates on the upper side to prevent completely absurd feerates,
873873
// always accepting up to 25 sat/vByte or 10x our fee estimator's "High Priority" fee.

0 commit comments

Comments
 (0)