Skip to content

Commit

Permalink
Update cross_message.go
Browse files Browse the repository at this point in the history
  • Loading branch information
songzhibin97 committed Oct 21, 2024
1 parent d5ded46 commit c7c5201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridge-history-api/internal/orm/cross_message.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (c *CrossMessage) GetL2WithdrawalsByBlockRange(ctx context.Context, startBl
if errors.Is(err, gorm.ErrRecordNotFound) {
return nil, nil
}
return nil, fmt.Errorf("failed to get latest L2 finalized sent message event, error: %w", err)
return nil, fmt.Errorf("failed to get L2 withdrawals by block range, error: %v", err)
}
return messages, nil
}
Expand Down

0 comments on commit c7c5201

Please sign in to comment.