Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaodino committed Mar 16, 2024
1 parent c32f20b commit 4a3dfa2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/relayer/indexer/handle_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ func (i *Indexer) handleEvent(
chainID *big.Int,
event *bridge.BridgeMessageSent,
) error {
slog.Info("event found for msgHash", "msgHash", common.Hash(event.MsgHash).Hex(), "txHash", event.Raw.TxHash.Hex())

// slog.Info("event found for msgHash", "msgHash", common.Hash(event.MsgHash).Hex(), "txHash", event.Raw.TxHash.Hex())
// if the destinatio chain doesnt match, we dont process it in this indexer.
if new(big.Int).SetUint64(event.Message.DestChainId).Cmp(i.destChainId) != 0 {
slog.Info("skipping event, wrong chainID",
Expand Down

0 comments on commit 4a3dfa2

Please sign in to comment.