loomnetwork / plasma-cash

Plasma Cash Contract & Client. ERC721, ERC20, and ETH compatible
https://loomx.io/developers
Other
271 stars 62 forks source link

Fix/invalid prev block #67

Closed gakonst closed 6 years ago

gakonst commented 6 years ago

As per @mattkanwisher comment:

deposit3_block_number = event_data[0]['args']['slot'] why does is the blocknumber now the uid

Fixes this bug and adds a check to reject any tx's with prev_block from the future