omgnetwork / plasma-mvp

OmiseGO's research implementation of Minimal Viable Plasma
MIT License
561 stars 158 forks source link

Prevent child chains from accepting double spends #30

Closed DavidKnott closed 6 years ago

DavidKnott commented 6 years ago

Child_chain.py doesn't currently protect against double spends.

This issue can be solved by setting transactions spent field to True when a UTXO is spent.