Skip to content

Commit

Permalink
merging
Browse files Browse the repository at this point in the history
  • Loading branch information
yashnevatia committed Jan 7, 2025
2 parents b8a9542 + 9d87560 commit 31cde63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deployment/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func (e Environment) AllChainSelectorsExcluding(excluding []uint64) []uint64 {
}

func (e Environment) AllChainSelectorsSolana() []uint64 {
var selectors []uint64
selectors := make([]uint64, 0, len(e.SolChains))
for sel := range e.SolChains {
selectors = append(selectors, sel)
}
Expand Down
3 changes: 2 additions & 1 deletion deployment/solana_chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package deployment

import (
"fmt"
"strconv"

"github.com/gagliardetto/solana-go"
solRpc "github.com/gagliardetto/solana-go/rpc"
Expand Down Expand Up @@ -35,7 +36,7 @@ func (c SolChain) Name() string {
panic(err)
}
if chainInfo.ChainName == "" {
return fmt.Sprintf("%d", c.Selector)
return strconv.FormatUint(c.Selector, 10)
}
return chainInfo.ChainName
}

0 comments on commit 31cde63

Please sign in to comment.