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
let full_channel_value_msat = (msg.funding_satoshis - msg.channel_reserve_satoshis)*1000;
1086
1086
if msg.push_msat > full_channel_value_msat {
1087
-
returnErr(ChannelError::Close(format!("push_msat {} was larger than funding value {}", msg.push_msat, full_channel_value_msat)));
1087
+
returnErr(ChannelError::Close(format!("push_msat {} was larger than channel amount minus reserve ({})", msg.push_msat, full_channel_value_msat)));
1088
1088
}
1089
1089
if msg.dust_limit_satoshis > msg.funding_satoshis{
1090
1090
returnErr(ChannelError::Close(format!("dust_limit_satoshis {} was larger than funding_satoshis {}. Peer never wants payout outputs?", msg.dust_limit_satoshis, msg.funding_satoshis)));
0 commit comments