Skip to content

Commit

Permalink
SigHelper: Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
SamantazFox committed Jul 4, 2024
1 parent f26f844 commit 292d751
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/invidious/helpers/sig_helper.cr
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ class Invidious::SigHelper
end

private enum Opcode
FORCE_UPDATE = 0
DECRYPT_N_SIGNATURE = 1
DECRYPT_SIGNATURE = 2
FORCE_UPDATE = 0
DECRYPT_N_SIGNATURE = 1
DECRYPT_SIGNATURE = 2
GET_SIGNATURE_TIMESTAMP = 3
GET_PLAYER_STATUS = 4
GET_PLAYER_STATUS = 4
end

private record Request,
Expand Down Expand Up @@ -153,7 +153,7 @@ class Invidious::SigHelper
alias TransactionID = UInt32
record Transaction, channel = ::Channel(Bytes).new

@prng = Random.new
@prng = Random.new
@mutex = Mutex.new
@queue = {} of TransactionID => Transaction

Expand Down

0 comments on commit 292d751

Please sign in to comment.