Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by qprofyeh

11 hours ago

@OP perhaps there’s a comparison bug in withdraw(): if (a.balance <= amount)

1 comment

qprofyeh

Reply

kubanczyk  10 hours ago

I've caught unbalanced parens:

    forkIO (atomically (transfer req.from req.to req.amount)

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities