Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AeternalService: fix case-sensitive comparison of domains #85

Closed
marc0olo opened this issue Nov 4, 2019 · 0 comments
Closed

AeternalService: fix case-sensitive comparison of domains #85

marc0olo opened this issue Nov 4, 2019 · 0 comments
Labels
bug Something isn't working ÆNS

Comments

@marc0olo
Copy link
Member

marc0olo commented Nov 4, 2019

currently we are comparing the domain case-sensitive and should replace equals with equalsIgnoreCase:

@Override
public boolean blockingIsAuctionActive(String name) {
    ActiveAuctionsResult result = this.blockingGetNameAuctionsActive();
    return result.getActiveAuctionResults().stream()
        .filter(auction -> auction.getName().equals(name))
        .findAny()
        .isPresent();
  }
@marc0olo marc0olo added bug Something isn't working ÆNS labels Nov 4, 2019
marc0olo added a commit that referenced this issue Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ÆNS
Projects
None yet
Development

No branches or pull requests

1 participant