FourthState / plasma-mvp-sidechain

Cosmos SDK (Tendermint consensus) side-chain implementation for plasma
Apache License 2.0
112 stars 35 forks source link

RemovePosition in outputStore has implementation bug #166

Closed AdityaSripal closed 5 years ago

AdityaSripal commented 5 years ago

Summary of bug

Mutating slice while iterating over it. Will cause out-of-range panic

Should create new slice and append to there and then return