Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Kolezhniuk committed Nov 28, 2023
1 parent f195243 commit 910759d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion did.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ func RegisterDIDMethodNetworkImplicit(method DIDMethod, blockchain Blockchain, n
return fmt.Errorf("DID method network %s already registered", method)
}

flags, _ := DIDMethodNetwork[m]
flags := DIDMethodNetwork[m]

if len(flags) == 0 {
DIDMethodNetwork[m][flg] = 0b00010000 | 0b00000001
Expand Down

0 comments on commit 910759d

Please sign in to comment.