Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
albertchon committed Jul 12, 2021
1 parent 6afcae2 commit e271073
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion orchestrator/eth_event_watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func (s *peggyOrchestrator) CheckForEvents(
// the possibility that the relayer was killed after relaying only one of multiple events in a single
// block, so we also need this routine so make sure we don't send in the first event in this hypothetical
// multi event block again. In theory we only send all events for every block and that will pass of fail
// atomicly but lets not take that risk.
// atomically but lets not take that risk.
lastClaimEvent, err := s.cosmosQueryClient.LastClaimEventByAddr(ctx, s.peggyBroadcastClient.AccFromAddress())
if err != nil {
err = errors.New("failed to query last claim event from backend")
Expand Down
2 changes: 1 addition & 1 deletion orchestrator/relayer/valset_relaying.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func (s *peggyRelayer) RelayValsets(ctx context.Context) error {
for _, set := range latestValsets {
sigs, err := s.cosmosQueryClient.AllValsetConfirms(ctx, set.Nonce)
if err != nil {
err = errors.Wrapf(err, "failed to get valset confims at nonce %d", set.Nonce)
err = errors.Wrapf(err, "failed to get valset confirms at nonce %d", set.Nonce)
return err
} else if len(sigs) == 0 {
continue
Expand Down

0 comments on commit e271073

Please sign in to comment.