mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-31 07:59:49 +00:00
1 parent
5378c64c39
commit
f5773795e9
14 files changed
+37
-37
No files matched your search
@@ -594,7 +594,7 @@ impl<BlockHash: Hash, Key: Hash, D: MetaDb> StateDb<BlockHash, Key, D> {
|
||||
}
|
||||
|
||||
/// Prevents pruning of specified block and its descendants.
|
||||
/// `hint` used for futher checking if the given block exists
|
||||
/// `hint` used for further checking if the given block exists
|
||||
pub fn pin<F>(&self, hash: &BlockHash, number: u64, hint: F) -> Result<(), PinError>
|
||||
where
|
||||
F: Fn() -> bool,
|
||||
@@ -665,7 +665,7 @@ pub enum IsPruned {
|
||||
Pruned,
|
||||
/// Definitely not pruned
|
||||
NotPruned,
|
||||
/// May or may not pruned, need futher checking
|
||||
/// May or may not pruned, need further checking
|
||||
MaybePruned,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user