Skip to content
This repository was archived by the owner on Oct 27, 2020. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion relayer/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ func (src *Chain) GetRPCPort() string {
// CreateTestKey creates a key for test chain
func (src *Chain) CreateTestKey() error {
if src.KeyExists(src.Key) {
return fmt.Errorf("key %s exists for chain %s", src.ChainID, src.Key)
return fmt.Errorf("key %s exists for chain %s", src.Key, src.ChainID)
}

mnemonic, err := CreateMnemonic()
Expand Down
2 changes: 1 addition & 1 deletion relayer/pathEnd.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (src *PathEnd) ConnAck(dstConnState connTypes.ConnectionResponse, dstConsSt
)
}

// ConnConfirm creates a MsgConnectionOpenAck
// ConnConfirm creates a MsgConnectionOpenConfirm
// NOTE: ADD NOTE ABOUT PROOF HEIGHT CHANGE HERE
func (src *PathEnd) ConnConfirm(dstConnState connTypes.ConnectionResponse, signer sdk.AccAddress) sdk.Msg {
return connTypes.NewMsgConnectionOpenConfirm(
Expand Down