Sfoglia il codice sorgente

Fix negative pending requests bug

Zed 3 anni fa
parent
commit
84dcf49079
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      src/tokens.nim

+ 0 - 1
src/tokens.nim

@@ -116,7 +116,6 @@ proc release*(account: GuestAccount) =
 proc getGuestAccount*(api: Api): Future[GuestAccount] {.async.} =
   for i in 0 ..< accountPool.len:
     if result.isReady(api): break
-    release(result)
     result = accountPool.sample()
 
   if not result.isNil and result.isReady(api):