From 9108b2720ad0ba3ca77639c46d5685ee15ff97a1 Mon Sep 17 00:00:00 2001 From: Dave Date: Sun, 29 Nov 2015 11:36:30 +0200 Subject: [PATCH] stopped ignoring actions on Hash (they are lifetime incremetors) --- src/nodash/models/NoUser.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/nodash/models/NoUser.java b/src/nodash/models/NoUser.java index 4ed6511..e4c6995 100644 --- a/src/nodash/models/NoUser.java +++ b/src/nodash/models/NoUser.java @@ -105,8 +105,7 @@ public abstract class NoUser implements Serializable { public final byte[] createFile(char[] password) { List tempActions = outgoing; - int tempActionCount = actions; - + touchRandomizer(); outgoing = new ArrayList(); actions = 0; @@ -115,7 +114,6 @@ public abstract class NoUser implements Serializable { byte[] json = NoUtil.toBytes(gson.toJson(this)); byte[] encrypted = NoUtil.encrypt(json, password); - actions = tempActionCount; outgoing = tempActions; return encrypted; }