Skip to content

Commit

Permalink
Fix bug that incorrectly initializes the number of copies of a messag…
Browse files Browse the repository at this point in the history
…e upon generation
  • Loading branch information
Radu Ioan Ciobanu authored and raduciobanu committed Jun 8, 2018
1 parent 765a19f commit 5d1e45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mobemu/node/Message.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public Message(int source, int destination, String message, long timestamp, int
this.message = message;
this.timestamp = timestamp;
this.tags = new Context();
this.stats = new MessageStats(copies, id);
this.stats = new MessageStats(copies, source);
}

/**
Expand Down

0 comments on commit 5d1e45a

Please sign in to comment.