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 shutdown_scriptpubkey = keys_provider.get_shutdown_scriptpubkey();
3284
3284
if !shutdown_scriptpubkey.is_compatible(their_features){
3285
3285
returnErr(ChannelError::Close(format!("Provided a scriptpubkey format not accepted by peer. script: ({})", shutdown_scriptpubkey.clone().into_inner().to_bytes().to_hex())));
returnErr(APIError::ChannelUnavailable{err:"Cannot begin shutdown while peer is disconnected or we're waiting on a monitor update, maybe force-close instead?".to_owned()});
let shutdown_scriptpubkey = keys_provider.get_shutdown_scriptpubkey();
4479
4476
if !shutdown_scriptpubkey.is_compatible(their_features){
4480
4477
returnErr(APIError::APIMisuseError{err:format!("Provided a scriptpubkey format not accepted by peer. script: ({})", shutdown_scriptpubkey.clone().into_inner().to_bytes().to_hex())});
4481
4478
}
4482
-
Some(shutdown_scriptpubkey)
4483
-
},
4484
-
};
4485
-
4486
-
let monitor_update = match shutdown_scriptpubkey {
0 commit comments