mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-05-03 16:13:13 +00:00
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…
x
Reference in New Issue
Block a user