Skip to content

Commit 8df0676

Browse files
committed
rename ChainIdentity to BridgeChainId
1 parent a3bc8cb commit 8df0676

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chains/substrate/connection.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
"fmt"
88
"sync"
99

10+
"github.com/ChainSafe/log15"
1011
utils "github.com/Phala-Network/ChainBridge/shared/substrate"
1112
"github.com/Phala-Network/chainbridge-utils/msg"
12-
"github.com/ChainSafe/log15"
1313
gsrpc "github.com/Phala-Network/go-substrate-rpc-client/v3"
1414
"github.com/Phala-Network/go-substrate-rpc-client/v3/rpc/author"
1515
"github.com/Phala-Network/go-substrate-rpc-client/v3/signature"
@@ -200,7 +200,7 @@ func (c *Connection) getConst(prefix, name string, res interface{}) error {
200200

201201
func (c *Connection) checkChainId(expected msg.ChainId) error {
202202
var actual msg.ChainId
203-
err := c.getConst(utils.BridgePalletName, "ChainIdentity", &actual)
203+
err := c.getConst(utils.BridgePalletName, "BridgeChainId", &actual)
204204
if err != nil {
205205
return err
206206
}

0 commit comments

Comments
 (0)