Browse Source

Fix typo (#169)

`xsalsa20_poly1305_suffx` -> `xsalsa20_poly1305_suffix`
pull/171/head
Matt Carey 5 years ago
committed by Andrei Zbikowski
parent
commit
9ffac51b19
  1. 2
      disco/voice/udp.py

2
disco/voice/udp.py

@ -234,7 +234,7 @@ class UDPVoiceClient(LoggingClass):
if self.vc.mode == 'xsalsa20_poly1305_lite':
nonce[:4] = data[-4:]
data = data[:-4]
elif self.vc.mode == 'xsalsa20_poly1305_suffx':
elif self.vc.mode == 'xsalsa20_poly1305_suffix':
nonce[:24] = data[-24:]
data = data[:-24]
elif self.vc.mode == 'xsalsa20_poly1305':

Loading…
Cancel
Save