Skip to content

Commit c0a3b63

Browse files
committed
do not check token id
1 parent 38645a2 commit c0a3b63

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

api.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,18 @@ var (
5252
)
5353

5454
func registerTokenId(id string) {
55+
if true {
56+
return
57+
}
5558
tokenIdSetMux.Lock()
5659
defer tokenIdSetMux.Unlock()
5760
tokenIdSet[id] = struct{}{}
5861
}
5962

6063
func unregisterTokenId(id string) {
64+
if true {
65+
return
66+
}
6167
tokenIdSetMux.Lock()
6268
defer tokenIdSetMux.Unlock()
6369
delete(tokenIdSet, id)

0 commit comments

Comments
 (0)