Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
x88 committed Oct 22, 2023
1 parent cfd9c7a commit 7cb3fcd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,5 @@ func (c *Chain) Key() ChainKey {
}

func (c *Chain) String() string {
return fmt.Sprintf("nt=%s:ct=%d:ci=%s", c.networkType, c.CoinType(), c.chainId)
return fmt.Sprintf("nt:%s:ct:%d:ci:%s", c.networkType, c.CoinType(), c.chainId)
}
8 changes: 4 additions & 4 deletions chain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import "testing"

var (
nssChainKey = []string{
`nt=btc:ct=0:ci=bitcoin`, // Bitcoin
`nt=tvm:ct=195:ci=mainnet`, // Tron
`nt=evm:ct=60:ci=0x1`, // Ethereum
`nt=evm:ct=0:ci=0xa86a`, // Avalanche
`nt:btc:ct:0:ci:bitcoin`, // Bitcoin
`nt:tvm:ct:195:ci:mainnet`, // Tron
`nt:evm:ct:60:ci:0x1`, // Ethereum
`nt:evm:ct:60:ci:0xa86a`, // Avalanche
}
)

Expand Down

0 comments on commit 7cb3fcd

Please sign in to comment.