Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
olomix committed Feb 21, 2024
1 parent 4c36446 commit 26d2f55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions env_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type EnvConfig struct {
StateContractAddr string
}

var globalRegistationLock sync.Mutex
var globalRegistrationLock sync.Mutex
var registeredDIDMethods sync.Map

// NewEnvConfigFromJSON returns empty config if input json is nil.
Expand Down Expand Up @@ -90,8 +90,8 @@ func registerDIDMethods(methodConfigs []MethodConfig) error {
return nil
}

globalRegistationLock.Lock()
defer globalRegistationLock.Unlock()
globalRegistrationLock.Lock()
defer globalRegistrationLock.Unlock()

for _, methodCfg := range newMethodConfigs {
chainIDi := chainIDToInt(methodCfg.ChainID)
Expand Down

0 comments on commit 26d2f55

Please sign in to comment.