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

Comment by qprofyeh

9 hours ago

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

1 comment

qprofyeh

Reply

kubanczyk  8 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