Skip to content

Commit 57fd42b

Browse files
committed
remove errant .await
1 parent 3bc076b commit 57fd42b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

storage/src/merkle/journaled.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ impl<F: Family, E: RStorage + Clock + Metrics, D: Digest> Journaled<F, E, D> {
248248
};
249249
let journal: Journal<E, D> =
250250
Journal::init(context.with_label("merkle_journal_peek"), journal_cfg).await?;
251-
let journal_size = Position::<F>::new(journal.size().await);
251+
let journal_size = Position::<F>::new(journal.size());
252252

253253
if journal_size == 0 {
254254
let empty_root = *Mem::new(hasher).root();

0 commit comments

Comments
 (0)