tiny basalt change
This commit is contained in:
parent
609f0387ca
commit
a7d92689e0
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue