Build an Ix.Address from a blake3::Hash.
(hash: &blake3::Hash)
| 9 | impl LeanIxAddress<LeanOwned> { |
| 10 | /// Build an Ix.Address from a blake3::Hash. |
| 11 | pub fn build_from_hash(hash: &blake3::Hash) -> Self { |
| 12 | LeanByteArray::from_bytes(hash.as_bytes()).into() |
| 13 | } |
| 14 | |
| 15 | /// Build an Ix.Address from an Ixon Address (which is just a [u8; 32]). |
| 16 | pub fn build(addr: &Address) -> Self { |
nothing calls this directly
no test coverage detected