Update zebra-consensus/src/checkpoint/list.rs
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
This commit is contained in:
parent
6f064e0154
commit
72ec79dd5e
|
@ -67,7 +67,7 @@ impl CheckpointList {
|
||||||
Ok(CheckpointList(checkpoints))
|
Ok(CheckpointList(checkpoints))
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Return true if there a checkpoint at `height`.
|
/// Return true if there is a checkpoint at `height`.
|
||||||
///
|
///
|
||||||
/// See `BTreeMap::contains_key()` for details.
|
/// See `BTreeMap::contains_key()` for details.
|
||||||
pub fn contains(&self, height: BlockHeight) -> bool {
|
pub fn contains(&self, height: BlockHeight) -> bool {
|
||||||
|
|
Loading…
Reference in New Issue