mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 12:49:23 +00:00
Finish binding Tendermint, bar the P2P layer
This commit is contained in:
@@ -48,7 +48,7 @@ impl ReadWrite for BlockHeader {
|
||||
}
|
||||
|
||||
impl BlockHeader {
|
||||
fn hash(&self) -> [u8; 32] {
|
||||
pub fn hash(&self) -> [u8; 32] {
|
||||
Blake2s256::digest([b"tributary_block".as_ref(), &self.serialize()].concat()).into()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user