Skip to content

Commit

Permalink
Correct the return value of block_has_events
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Mar 9, 2024
1 parent 2347bf5 commit 89b237a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coordinator/src/substrate/cosign.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
}
Expand Down

0 comments on commit 89b237a

Please sign in to comment.