File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2194,8 +2194,8 @@ impl ChannelManager {
2194
2194
//TODO: here and below MsgHandleErrInternal, #153 case
2195
2195
return Err ( MsgHandleErrInternal :: send_err_msg_no_close ( "Got a message for a channel from the wrong node!" , msg. channel_id ) ) ;
2196
2196
}
2197
- if ( msg. failure_code & 0x8000 ) ! = 0 {
2198
- return Err ( MsgHandleErrInternal :: send_err_msg_close_chan ( "Got update_fail_malformed_htlc with BADONION set" , msg. channel_id ) ) ;
2197
+ if ( msg. failure_code & 0x8000 ) = = 0 {
2198
+ return Err ( MsgHandleErrInternal :: send_err_msg_close_chan ( "Got update_fail_malformed_htlc with BADONION not set" , msg. channel_id ) ) ;
2199
2199
}
2200
2200
chan. update_fail_malformed_htlc ( & msg, HTLCFailReason :: Reason { failure_code : msg. failure_code , data : Vec :: new ( ) } )
2201
2201
. map_err ( |e| MsgHandleErrInternal :: from_chan_maybe_close ( e, msg. channel_id ) ) ?;
You can’t perform that action at this time.
0 commit comments