(hash: &Merkle)
| 5 | use atomic_core::types::Merkle; |
| 6 | |
| 7 | pub fn hash_proto(hash: &Merkle) -> pb::Hash { |
| 8 | pb::Hash { |
| 9 | value: hash.0.to_vec(), |
| 10 | algorithm: pb::HashAlgorithm::Blake3 as i32, |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | pub fn author_proto(author: &Author) -> pb::Author { |
| 15 | pb::Author { |
no outgoing calls
no test coverage detected