Do not create auction on domain release if already exists

Closes #2015
This commit is contained in:
Alex Sherman 2021-06-01 17:52:04 +05:00
parent 5e5a38eb8e
commit 445cff4a29
2 changed files with 16 additions and 1 deletions

View file

@ -86,7 +86,7 @@ module DNS
attr_reader :name
def not_auctionable?
blocked? || reserved? || disputed?
blocked? || reserved? || disputed? || pending_auction.present?
end
def zone_with_same_origin?