mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-22 10:44:53 +00:00
Add correction the last commit missed
This commit is contained in:
parent
e73a51bfa5
commit
8b1bce6abd
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ impl<T: Transaction, P: P2p> NetworkTrait for Network<T, P> {
|
|||
panic!("validators added invalid block to tributary {}", hex::encode(self.genesis));
|
||||
};
|
||||
|
||||
assert!(self.verify_commit(block.id(), commit));
|
||||
assert!(self.verify_commit(block.id(), &commit));
|
||||
|
||||
let Ok(block) = Block::read::<&[u8]>(&mut block.0.as_ref()) else {
|
||||
return invalid_block();
|
||||
|
|
Loading…
Reference in a new issue