issues
search
gnolang
/
gnonative
Develop for Gno using your app's native language
Apache License 2.0
9
stars
9
forks
source link
fix: In api.go, use mutex to read s.activeAccount
#51
Closed
jefft0
closed
11 months ago
jefft0
commented
11 months ago
In SelectAccount, call
convertKeyInfo
before updating
s.activeAccount
in case there is an error.
In GetActiveAccount, use
RLock
instead of
Lock
.
In DeleteAccount and Call, use the mutex to check the status of
s.activeAccount
.
convertKeyInfo
before updatings.activeAccount
in case there is an error.RLock
instead ofLock
.s.activeAccount
.