Fix documentation warning for Slate::msg_to_sign (#616)

This commit is contained in:
GeneFerneau 2021-05-19 19:02:17 +00:00 committed by GitHub
parent 18361dabd3
commit ba9a4982df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -375,7 +375,7 @@ impl Slate {
}
}
// This is the msg that we will sign as part of the tx kernel.
/// This is the msg that we will sign as part of the tx kernel.
pub fn msg_to_sign(&self) -> Result<secp::Message, Error> {
let msg = self.kernel_features()?.kernel_sig_msg()?;
Ok(msg)