Skip to content

Commit

Permalink
do not check token id
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxkad committed Feb 25, 2024
1 parent 38645a2 commit c0a3b63
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions api.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,18 @@ var (
)

func registerTokenId(id string) {
if true {
return
}
tokenIdSetMux.Lock()
defer tokenIdSetMux.Unlock()
tokenIdSet[id] = struct{}{}
}

func unregisterTokenId(id string) {
if true {
return
}
tokenIdSetMux.Lock()
defer tokenIdSetMux.Unlock()
delete(tokenIdSet, id)
Expand Down

0 comments on commit c0a3b63

Please sign in to comment.