pub fn get_affected_keys(spk: &Script, provider: &SigningProvider) -> Vec<KeyID>