Skip to content

Commit

Permalink
default handler
Browse files Browse the repository at this point in the history
  • Loading branch information
huangzhen1997 committed Nov 12, 2024
1 parent 5a30203 commit 2d24dba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions selectors.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ func GetChainIDFromSelector(selector uint64) (string, error) {
return "", fmt.Errorf("failed to get %v chain ID from selector %d: %w", destChainFamily, selector, err)
}
destChainID = fmt.Sprintf("%d", id)
default:
return "", fmt.Errorf("selector %d is not supported", selector)
}

return destChainID, nil
Expand Down

0 comments on commit 2d24dba

Please sign in to comment.