logoalt Hacker News

prydtyesterday at 6:02 PM0 repliesview on HN

The syntax is correct but I made a logical error since balance is being compared to itself (as opposed to the new balance at the end).