Skip to content

Commit

Permalink
fix eip55
Browse files Browse the repository at this point in the history
  • Loading branch information
ayrat555 committed Dec 14, 2020
1 parent 2615e8d commit e03c131
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/omg_eth/lib/omg_eth/release_tasks/set_contract/eip55.ex
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ defmodule OMG.Eth.ReleaseTasks.SetContract.EIP55 do

hash =
address
|> :keccakf1600.sha3_256()
|> ExKeccak.hash_256()
|> elem(1)
|> Base.encode16(case: :lower)
|> String.graphemes()

Expand Down

0 comments on commit e03c131

Please sign in to comment.