Get uniq pool mining addresses for snapshotting process

staking
Eduard Sachava 5 years ago committed by Victor Baranov
parent 5bdfe69c6f
commit 43d7c53c7a
  1. 2
      apps/explorer/lib/explorer/staking/stake_snapshotting.ex

@ -22,7 +22,7 @@ defmodule Explorer.Staking.StakeSnapshotting do
"validatorsToBeFinalized" => [] "validatorsToBeFinalized" => []
}) })
pool_mining_addresses = pending_validators_mining_addresses ++ be_finalized_validators_mining_addresses pool_mining_addresses = Enum.uniq(pending_validators_mining_addresses ++ be_finalized_validators_mining_addresses)
pool_staking_addresses = pool_staking_addresses =
pool_mining_addresses pool_mining_addresses

Loading…
Cancel
Save