Why Use the Withdrawal Pattern?
Jim McDonald
662

Hi Jim,

Why wouldn’t you rewrite the BadSplitter contract to send 1/2 to the recipient first, then use “send” instead of transfer to send to the “sender”? “send” won’t throw so a malicious sender would just lose their funds, correct?