Skip to content

Commit

Permalink
Trivial: Formatting & todo added
Browse files Browse the repository at this point in the history
  • Loading branch information
orogvany committed May 23, 2018
1 parent 3d75620 commit 963a97e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ private Map<String, Long> getAgedVotesForBlock(Block block) throws IOException,
long valueToAdd = 0L;
//only count votes that are older than threshold
// new version will have block on transaction, til then, we keep track of dates
// TODO - new version has this feature, should update logic!

//if we have a voter whitelist, votes only count if they're in whitelist
if (!voterWhitelist.isEmpty() && !voterWhitelist.contains(transaction.getFrom())) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ public String persistPayout(Payout payout) {
return null;
}


public PoolState loadPoolState() throws IOException {
PoolState poolState = new PoolState();

Expand Down
1 change: 0 additions & 1 deletion src/main/java/com/semuxpool/pool/state/PoolState.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public class PoolState {
private long currentBlock;
private Date lastPayoutDate;


public long getTotalPoolProfits() {
return totalPoolProfits;
}
Expand Down

0 comments on commit 963a97e

Please sign in to comment.