tiny basalt change

This commit is contained in:
Alex 2020-12-11 15:58:21 +01:00
parent 609f0387ca
commit a7d92689e0

View file

@ -77,7 +77,7 @@ impl Peer {
{
let mut h5 = hasher.clone();
h5.update(&format!("{}", self.addr).into_bytes()[..]);
h5.update(&format!("{} {}", self.addr, hex::encode(self.id)).into_bytes()[..]);
cost[32..40].copy_from_slice(&h5.finalize()[..8]);
}