Skip to content

Commit dafdf6d

Browse files
committed
Fix BNLS_HASHDATA packet
The flag value was not being written into the packet, so this function wasn't actually working at all.
1 parent 37d6541 commit dafdf6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bnls/client.py

+1
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ async def hash_data(self, data, client_token=None, server_token=None, flags=4, t
244244
"""
245245
x0b = BnlsPacket(BNLS_HASHDATA)
246246
x0b.insert_dword(len(data))
247+
x0b.insert_dword(flags)
247248
x0b.insert_raw(data)
248249

249250
if flags & 2 == 2:

0 commit comments

Comments
 (0)