grin_core::libtx::secp_ser::option_seckey_serde
pub fn serialize<S>( key: &Option<SecretKey>, serializer: S) -> Result<S::Ok, S::Error> where S: Serializer,