Comment

Comment by georgyo

This has always been the problem with smart contracts. They are infact dumb contacts.

To program one you need to think about all the edge cases. The programmers here likely did want >0 here. The possibility that the thing feeding price data return zero incorrectly was higher than the price legitimately being zero in their minds.

There is no court or lawyer who can interpret the spirit of the contract.

parent georgyo 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton