mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-16 17:07:35 +00:00
Correct the return value of block_has_events
This commit is contained in:
parent
2347bf5fd3
commit
89b237af7e
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ async fn block_has_events(
|
|||
let has_events = if has_no_events { HasEvents::No } else { HasEvents::Yes };
|
||||
|
||||
BlockHasEvents::set(txn, block, &has_events);
|
||||
Ok(HasEvents::Yes)
|
||||
Ok(has_events)
|
||||
}
|
||||
Some(code) => Ok(code),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue