Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Commit

Permalink
Resolve imports conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
nmlinaric committed Oct 11, 2021
1 parent 6f50e98 commit fd01c75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chains/evm/evmclient/evm-client.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (
"github.com/ChainSafe/chainbridge-core/chains/evm/listener"
"github.com/ChainSafe/chainbridge-core/crypto/secp256k1"
"github.com/ChainSafe/chainbridge-core/keystore"
internalTypes "github.com/ChainSafe/chainbridge-core/types"

"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/common"
Expand Down Expand Up @@ -164,7 +165,7 @@ func (c *EVMClient) FetchDepositLogs(ctx context.Context, contractAddress common
for _, l := range logs {
dl := &listener.DepositLogs{
DestinationID: uint8(l.Topics[1].Big().Uint64()),
ResourceID: l.Topics[2],
ResourceID: (internalTypes.ResourceID(l.Topics[2])),
DepositNonce: l.Topics[3].Big().Uint64(),
}
depositLogs = append(depositLogs, dl)
Expand Down

0 comments on commit fd01c75

Please sign in to comment.