Fix a bug in the slot deserialization function

This commit is contained in:
Impyy 2017-05-04 21:21:50 +02:00 committed by Alexander Bakker
parent 3040276942
commit 0c60c63a8c

View file

@ -23,7 +23,6 @@ public class RawSlot extends Slot {
if (buffer.get() != getType()) { if (buffer.get() != getType()) {
throw new Exception("slot type mismatch"); throw new Exception("slot type mismatch");
} }
buffer.get();
_encryptedMasterKey = new byte[CryptoUtils.CRYPTO_KEY_SIZE]; _encryptedMasterKey = new byte[CryptoUtils.CRYPTO_KEY_SIZE];
buffer.get(_encryptedMasterKey); buffer.get(_encryptedMasterKey);
} }