diff --git a/bchain/coins/eth/erc20.go b/bchain/coins/eth/erc20.go index fb10dbea..6f63f666 100644 --- a/bchain/coins/eth/erc20.go +++ b/bchain/coins/eth/erc20.go @@ -5,6 +5,7 @@ import ( "context" "encoding/hex" "math/big" + "strings" "sync" ethcommon "github.com/ethereum/go-ethereum/common" @@ -74,9 +75,9 @@ func erc20GetTransfersFromLog(logs []*rpcLog) ([]Erc20Transfer, error) { return nil, err } r = append(r, Erc20Transfer{ - Contract: l.Address, - From: from, - To: to, + Contract: strings.ToLower(l.Address), + From: strings.ToLower(from), + To: strings.ToLower(to), Tokens: t, }) } diff --git a/static/templates/tx.html b/static/templates/tx.html index cea201d3..41ab7ed0 100644 --- a/static/templates/tx.html +++ b/static/templates/tx.html @@ -28,7 +28,7 @@ {{- if ne $tx.EthereumSpecific.Status 1 -}}