Why Use the Withdrawal Pattern?
Jim McDonald
161

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?

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.