From 13c8843c27b7ff31c994c6098a1a5c5756daa2f0 Mon Sep 17 00:00:00 2001 From: Revertron Date: Tue, 8 Jun 2021 11:54:46 +0200 Subject: [PATCH] Fixed cargo doc generation. --- src/blockchain/hash_utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blockchain/hash_utils.rs b/src/blockchain/hash_utils.rs index e8d9251..8a90a5e 100644 --- a/src/blockchain/hash_utils.rs +++ b/src/blockchain/hash_utils.rs @@ -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);