Skip to content

Commit

Permalink
Update crates/services/importer/src/importer.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Tom <tomrgowan@gmail.com>
  • Loading branch information
xgreenx and freesig authored Jan 19, 2023
1 parent 0040195 commit 11b8fae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/services/importer/src/importer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ where
/// After the commit into the database notifies about a new imported block.
///
/// Only one commit may be in progress at the time. All other calls will be fail.
/// # Concurrency
/// Returns an error if called while another call is in progress.
pub fn commit_result<EDatabase>(
&self,
result: UncommittedResult<StorageTransaction<EDatabase>>,
Expand Down

0 comments on commit 11b8fae

Please sign in to comment.