Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Update client/api/src/backend.rs
Browse files Browse the repository at this point in the history
Co-Authored-By: Nikolay Volf <nikvolf@gmail.com>
  • Loading branch information
seunlanlege and NikVolf authored Feb 24, 2020
1 parent 04b2404 commit 28b1624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/api/src/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ pub trait BlockImportOperation<Block: BlockT> {
fn mark_head(&mut self, id: BlockId<Block>) -> sp_blockchain::Result<()>;
}

/// trait for performing operations on the backend
/// Interface for performing operations on the backend.
pub trait ClientBackend<Block: BlockT, B: Backend<Block>> {
/// Lock the import lock, and run operations inside.
fn lock_import_and_run<R, Err, F>(&self, f: F) -> Result<R, Err> where
Expand Down

0 comments on commit 28b1624

Please sign in to comment.