From f59d60d066f2659d186895de3ae8705fcf1ba1d7 Mon Sep 17 00:00:00 2001 From: Dave Date: Sun, 5 Jul 2015 18:58:03 +0200 Subject: [PATCH] added action count to change hash properly --- src/nodash/models/NoUser.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/nodash/models/NoUser.java b/src/nodash/models/NoUser.java index 1797f72..af72075 100644 --- a/src/nodash/models/NoUser.java +++ b/src/nodash/models/NoUser.java @@ -56,6 +56,7 @@ public class NoUser implements Serializable { private String randomized; private int influences; + private int actions; private List outgoing = new ArrayList(); @@ -80,6 +81,7 @@ public class NoUser implements Serializable { this.publicKey = keyPair.getPublic(); this.privateKey = keyPair.getPrivate(); this.influences = 0; + this.actions = 0; this.touchRandomizer(); } @@ -152,6 +154,7 @@ public class NoUser implements Serializable { public final void addAction(NoAction action) { this.outgoing.add(action); + actions++; } public final List getNoActions() {