Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gwen917 committed Oct 31, 2023
1 parent 5b548b8 commit dcc12f5
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions relayer/relayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,16 +187,6 @@ func NewRelayer(

// RelayMessage relays a single warp message to the destination chain. Warp message relay requests from the same origin chain are processed serially
func (r *Relayer) RelayMessage(warpLogInfo *vmtypes.WarpLogInfo, metrics *MessageRelayerMetrics, messageCreator message.Creator) error {
// Check that the destination chain ID is supported
if !r.CheckSupportedDestination(warpLogInfo.DestinationChainID) {
r.logger.Debug(
"Message destination chain ID not supported. Not relaying.",
zap.String("chainID", r.sourceChainID.String()),
zap.String("destinationChainID", warpLogInfo.DestinationChainID.String()),
)
return nil
}

r.logger.Info(
"Relaying message",
zap.String("chainID", r.sourceChainID.String()),
Expand Down

0 comments on commit dcc12f5

Please sign in to comment.