diff options
author | Alex Auvolat <alex@adnab.me> | 2021-02-23 18:14:37 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-02-23 18:14:37 +0100 |
commit | 6e6f7e8555ad488a8b4d67ba640ddad933aa2654 (patch) | |
tree | e389f2238c0516c01a1b468e4b1c884176680d40 /src/rpc/membership.rs | |
parent | e8e4418ca7c0b1156d5bc103b164aa72ecb748b9 (diff) | |
download | garage-6e6f7e8555ad488a8b4d67ba640ddad933aa2654.tar.gz garage-6e6f7e8555ad488a8b4d67ba640ddad933aa2654.zip |
Replace some checksums where it makes sense
Diffstat (limited to 'src/rpc/membership.rs')
-rw-r--r-- | src/rpc/membership.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/membership.rs b/src/rpc/membership.rs index 2d3b37a2..783f6eb8 100644 --- a/src/rpc/membership.rs +++ b/src/rpc/membership.rs @@ -141,7 +141,7 @@ impl Status { writeln!(&mut nodes_txt, "{} {}", hex::encode(&id), status.addr).unwrap(); } debug!("END --"); - self.hash = sha256sum(nodes_txt.as_bytes()); + self.hash = blake2sum(nodes_txt.as_bytes()); } } |