Skip to content

Commit bfb1944

Browse files
committed
[refactor] Simplify fetch_hot further
1 parent 77fdeaf commit bfb1944

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/function/fetch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ where
8787

8888
let shallow_update = self.shallow_verify_memo(zalsa, database_key_index, memo)?;
8989

90-
if self.validate_may_be_provisional(db, zalsa, database_key_index, memo) {
90+
if !memo.may_be_provisional() {
9191
self.update_shallow(db, zalsa, database_key_index, memo, shallow_update);
9292

9393
// SAFETY: memo is present in memo_map and we have verified that it is

0 commit comments

Comments
 (0)