Skip to content

Commit

Permalink
Allow $0 estimates
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelBCarter committed Sep 28, 2024
1 parent 896cec4 commit ec022d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export const getAppraisalsForAllAssetsValidator = (dictionary: Record<Hash, With
const validateEstimate = (estimate: WithSources<HashLeaseEstimate>, exp: number): boolean => {
if (!validateWithinWindow(estimate, exp)) return false
if (estimate.currency !== 'USD') return false
if (estimate.price <= 0) return false
if (estimate.price < 0) return false
return true
}

Expand Down

0 comments on commit ec022d3

Please sign in to comment.