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();
3283
3283
if !shutdown_scriptpubkey.is_compatible(their_features){
3284
3284
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();
4478
4475
if !shutdown_scriptpubkey.is_compatible(their_features){
4479
4476
returnErr(APIError::APIMisuseError{err:format!("Provided a scriptpubkey format not accepted by peer. script: ({})", shutdown_scriptpubkey.clone().into_inner().to_bytes().to_hex())});
4480
4477
}
4481
-
Some(shutdown_scriptpubkey)
4482
-
},
4483
-
};
4484
-
4485
-
let monitor_update = match shutdown_scriptpubkey {
0 commit comments