Skip to content

Commit

Permalink
Merge pull request #23 from QOSGroup/develop
Browse files Browse the repository at this point in the history
bug fix #22 concurrent operation failed due to db lock
  • Loading branch information
ewagmig authored Jun 11, 2019
2 parents c7b36fe + e1a0208 commit e381540
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions litewallet/eth/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,8 @@ func FetchtoSign(rootDir, name, password string) (privKey *ecdsa.PrivateKey, err
if len(bs) == 0 {
return nil, keyerror.NewErrKeyNotFound(name)
}
//Close the db to release the lock
db.Close()
//get the LocalInfo by key
Li, err := readInfo(bs)
if err != nil {
Expand Down

0 comments on commit e381540

Please sign in to comment.