Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove 0x0..0 from tests #1744

Merged
merged 4 commits into from
Apr 16, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion apps/explorer/test/support/factory.ex
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,11 @@ defmodule Explorer.Factory do
|> sequence(& &1)
|> Hash.Address.cast()

address_hash
if to_string(address_hash) == "0x0000000000000000000000000000000000000000" do
address_hash()
else
address_hash
end
end

def block_factory do
Expand Down