Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> but if you deposit a bank check it just shreds the check.

Why would you ever want to “shred the check”? Is this the intended functionality or a bug?



> Why would you ever want to “shred the check”?

You don't, and it's not what technically happens, but it's the closest I could find as the actual behaviour can not be replicated in the real world.

The actual behaviour, at least in my understanding, is that the bank check goes in a box to which only the ATM has access, but the ATM was never coded to look for bank checks in the box, and it's not possible to update it, so it's not possible to get the bank checks out of the box.

In the real world you could take the box out and force it open, but in "the blockchain" the contract has sole control of the wallet, an updated version of the contract would be a different contract with a different address.

> Is this the intended functionality or a bug?

It is, in the broadest sense, a bug: the contract was not coded to handle anything other than ETH inputs, so it ignores everything else, but the other things were still moved into the box.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: