aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/membership.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-02-23 18:14:37 +0100
committerAlex Auvolat <alex@adnab.me>2021-02-23 18:14:37 +0100
commit6e6f7e8555ad488a8b4d67ba640ddad933aa2654 (patch)
treee389f2238c0516c01a1b468e4b1c884176680d40 /src/rpc/membership.rs
parente8e4418ca7c0b1156d5bc103b164aa72ecb748b9 (diff)
downloadgarage-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.rs2
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());
}
}