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);