keep track of first block in blockchain (#1937)
This commit is contained in:
committed by
Arkadiy Paronyan
parent
d7c184bd72
commit
0e0cc20d84
@@ -284,6 +284,10 @@ mod tests {
|
||||
self.blocks.contains_key(hash)
|
||||
}
|
||||
|
||||
fn first_block(&self) -> H256 {
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
/// Get raw block data
|
||||
fn block(&self, hash: &H256) -> Option<Bytes> {
|
||||
self.blocks.get(hash).cloned()
|
||||
|
||||
Reference in New Issue
Block a user