Skip to content

Commit

Permalink
Merge pull request #1694 from 0chain/hotfix/burn
Browse files Browse the repository at this point in the history
fixed eth wallet format
  • Loading branch information
dabasov authored Nov 30, 2024
2 parents 2e760c7 + 384086d commit dea91ce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion zcnbridge/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"path"

"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"

"github.com/0chain/gosdk/zcnbridge/log"
"github.com/ethereum/go-ethereum/ethclient"
Expand Down Expand Up @@ -92,12 +93,13 @@ func NewBridgeClient(
consensusThreshold float64,
ethereumClient EthereumClient,
keyStore KeyStore) *BridgeClient {
address := common.HexToAddress(ethereumAddress).Hex()
return &BridgeClient{
BridgeAddress: bridgeAddress,
TokenAddress: tokenAddress,
AuthorizersAddress: authorizersAddress,
UniswapAddress: uniswapAddress,
EthereumAddress: ethereumAddress,
EthereumAddress: address,
EthereumNodeURL: ethereumNodeURL,
Password: password,
GasLimit: gasLimit,
Expand Down

0 comments on commit dea91ce

Please sign in to comment.