DE-labtory / it-chain

Lightweight & Customizable Block Chain
Apache License 2.0
177 stars 54 forks source link

[All] Need to add mutex lock to all repository implementations #1001

Closed junbeomlee closed 5 years ago

junbeomlee commented 5 years ago

Componet All

Assignee @junbeomlee

Bug detail Some repositories do not have mutex locks. Failure to lock can cause serious problems.

Fix plan Add mutex.Lock() and defer mutex.Unlock()