We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 368c534 commit 6f829d3Copy full SHA for 6f829d3
lightning/src/ln/channel.rs
@@ -3167,7 +3167,7 @@ impl<ChanSigner: ChannelKeys> Channel<ChanSigner> {
3167
// Upper bound by capacity. We make it a bit less than full capacity to prevent attempts
3168
// to use full capacity. This is an effort to reduce routing failures, because in many cases
3169
// channel might have been used to route very small values (either by honest users or as DoS).
3170
- self.channel_value_satoshis * 9 / 10,
+ self.channel_value_satoshis * 1000 * 9 / 10,
3171
3172
Channel::<ChanSigner>::get_holder_max_htlc_value_in_flight_msat(self.channel_value_satoshis)
3173
);
0 commit comments