Block::get_bytes()
This commit is contained in:
parent
1fad1ffc4f
commit
808012c03a
1 changed files with 4 additions and 0 deletions
|
|
@ -63,6 +63,10 @@ impl Block {
|
||||||
self.nonce = next_nonce;
|
self.nonce = next_nonce;
|
||||||
self.compute_block();
|
self.compute_block();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn get_bytes(&self) -> [u8; 64] {
|
||||||
|
self.chunk
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue