DE-labtory / it-chain

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

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

Closed junbeomlee closed 6 years ago

junbeomlee commented 6 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()