Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
aw4y committed Jun 18, 2016
1 parent 0e2d252 commit 58d1467
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public static Object readFromDisk(String filename, Class type, CipherManager cip

// serializer for keys
public static byte[] serialize(Object o) {
byte[] ret = new byte[CollisionHash.MAXFILESIZE];
byte[] ret = new byte[CollisionHash.MAXFILESIZE*2];
Output output = new Output(ret);
getKryoInstance().writeObject(output, o);
return output.toBytes();
Expand Down

0 comments on commit 58d1467

Please sign in to comment.