Fix token transfers' tests

pull/1124/head
Felipe Renan 6 years ago
parent e880788232
commit c486837ba8
  1. 4
      apps/explorer/test/explorer/chain/import_test.exs
  2. 1
      apps/explorer/test/support/factory.ex

@ -1517,7 +1517,9 @@ defmodule Explorer.Chain.ImportTest do
},
token_transfers: %{
params: [
params_for(:token_transfer,
params_for(
:token_transfer,
block_number: 35,
from_address_hash: from_address_hash,
to_address_hash: to_address_hash,
token_contract_address_hash: token_contract_address_hash,

@ -387,6 +387,7 @@ defmodule Explorer.Factory do
%TokenTransfer{
amount: Decimal.new(1),
block_number: block_number(),
from_address: from_address,
to_address: to_address,
token_contract_address: token_address,

Loading…
Cancel
Save