update pools reader test

pull/2036/head
saneery 6 years ago
parent 679e45cfa1
commit 109bba9dc1
  1. 4
      apps/explorer/lib/explorer/staking/pools_reader.ex
  2. 4
      apps/explorer/test/explorer/staking/pools_reader_test.exs

@ -38,8 +38,8 @@ defmodule Explorer.Staking.PoolsReader do
{ {
:ok, :ok,
%{ %{
staking_address: staking_address, staking_address_hash: staking_address,
mining_address: mining_address, mining_address_hash: mining_address,
is_active: is_active, is_active: is_active,
delegators_count: delegators_count, delegators_count: delegators_count,
staked_amount: staked_amount, staked_amount: staked_amount,

@ -40,11 +40,11 @@ defmodule Explorer.Token.PoolsReaderTest do
is_active: true, is_active: true,
is_banned: false, is_banned: false,
is_validator: true, is_validator: true,
mining_address: mining_address_hash:
<<187, 202, 168, 212, 130, 137, 187, 31, 252, 249, 128, 141, 154, 164, 177, 210, 21, 5, 76, 120>>, <<187, 202, 168, 212, 130, 137, 187, 31, 252, 249, 128, 141, 154, 164, 177, 210, 21, 5, 76, 120>>,
staked_amount: 0, staked_amount: 0,
self_staked_amount: 0, self_staked_amount: 0,
staking_address: <<11, 47, 94, 47, 60, 189, 134, 78, 170, 44, 100, 46, 55, 105, 193, 88, 35, 97, 202, 246>>, staking_address_hash: <<11, 47, 94, 47, 60, 189, 134, 78, 170, 44, 100, 46, 55, 105, 193, 88, 35, 97, 202, 246>>,
was_banned_count: 0, was_banned_count: 0,
was_validator_count: 2 was_validator_count: 2
} }

Loading…
Cancel
Save