You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if outbound_stats.pending_htlcs_value_msat + amount_msat > self.counterparty_max_htlc_value_in_flight_msat{
5225
-
returnErr(ChannelError::Ignore(format!("Cannot send value that would put us over the max HTLC value in flight our peer will accept ({})",self.counterparty_max_htlc_value_in_flight_msat)));
5225
+
returnErr(ChannelError::Ignore(format!("Cannot send value that would put us over the max HTLC value in flight our peer will accept ({} + {} > {})", outbound_stats.pending_htlcs_value_msat, amount_msat,self.counterparty_max_htlc_value_in_flight_msat)));
5226
5226
}
5227
5227
5228
5228
let keys = self.build_holder_transaction_keys(self.cur_holder_commitment_transaction_number)?;
0 commit comments