Skip to content

Commit

Permalink
When enumerating contracts, lowercase the address.
Browse files Browse the repository at this point in the history
  • Loading branch information
BogdanHabic committed Mar 1, 2019
1 parent 8c33e92 commit 7bd0bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/proxy/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func (p *Proxy) Trace(receipt ethereum.TransactionReceipt, projectPath string) e

contracts = make(map[string]*truffle.Contract)
for _, contract := range truffleContracts {
contracts[contract.Networks[networkId].Address] = contract
contracts[strings.ToLower(contract.Networks[networkId].Address)] = contract
}

t, err := p.client.GetTransaction(receipt.Hash())
Expand Down

0 comments on commit 7bd0bcd

Please sign in to comment.