Prevents duplicate addresses to be sent in the same reward request
This commit is contained in:
parent
29344451d6
commit
b805c5f004
|
@ -104,7 +104,7 @@ namespace TestNetRewarder
|
|||
private EthAddress[] PerformCheck(RewardConfig reward, ChainState chainState)
|
||||
{
|
||||
var check = GetCheck(reward.CheckConfig);
|
||||
return check.Check(chainState);
|
||||
return check.Check(chainState).Distinct().ToArray();
|
||||
}
|
||||
|
||||
private ICheck GetCheck(CheckConfig config)
|
||||
|
|
Loading…
Reference in New Issue