Fixed cargo doc generation.

pull/133/head
Revertron 3 years ago
parent 53633ddbcb
commit 13c8843c27

@ -27,7 +27,7 @@ pub fn check_block_signature(block: &Block) -> bool {
}
/// Hashes some identity (domain in case of DNS). If you give it a public key, it will hash with it as well.
/// Giving public key is needed to create a confirmation field in [Transaction]
/// Giving public key is needed to create a confirmation field in [Transaction](crate::blockchain::Transaction)
pub fn hash_identity(identity: &str, key: Option<&Bytes>) -> Bytes {
let base = hash_sha256(identity.as_bytes());
let identity = hash_sha256(&base);

Loading…
Cancel
Save