added action count to change hash properly
This commit is contained in:
@@ -56,6 +56,7 @@ public class NoUser implements Serializable {
|
|||||||
private String randomized;
|
private String randomized;
|
||||||
|
|
||||||
private int influences;
|
private int influences;
|
||||||
|
private int actions;
|
||||||
|
|
||||||
private List<NoAction> outgoing = new ArrayList<NoAction>();
|
private List<NoAction> outgoing = new ArrayList<NoAction>();
|
||||||
|
|
||||||
@@ -80,6 +81,7 @@ public class NoUser implements Serializable {
|
|||||||
this.publicKey = keyPair.getPublic();
|
this.publicKey = keyPair.getPublic();
|
||||||
this.privateKey = keyPair.getPrivate();
|
this.privateKey = keyPair.getPrivate();
|
||||||
this.influences = 0;
|
this.influences = 0;
|
||||||
|
this.actions = 0;
|
||||||
this.touchRandomizer();
|
this.touchRandomizer();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -152,6 +154,7 @@ public class NoUser implements Serializable {
|
|||||||
|
|
||||||
public final void addAction(NoAction action) {
|
public final void addAction(NoAction action) {
|
||||||
this.outgoing.add(action);
|
this.outgoing.add(action);
|
||||||
|
actions++;
|
||||||
}
|
}
|
||||||
|
|
||||||
public final List<NoAction> getNoActions() {
|
public final List<NoAction> getNoActions() {
|
||||||
|
|||||||
Reference in New Issue
Block a user