Skip to content

Commit

Permalink
fix: fix gonglangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
YuexingZeng committed Feb 6, 2024
1 parent d56d6be commit 7e77da9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions x/bridge/types/key_withdraw.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ func WithdrawKey(
) []byte {
var key []byte

txIdBytes := []byte(txID)
key = append(key, txIdBytes...)
txIDBytes := []byte(txID)
key = append(key, txIDBytes...)
key = append(key, []byte("/")...)

return key
Expand Down
4 changes: 2 additions & 2 deletions x/bridge/types/messages_withdraw.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ var _ sdk.Msg = &MsgUpdateWithdraw{}

func NewMsgUpdateWithdraw(
creator string,
txId string,
txID string,
status WithdrawStatus,
) *MsgUpdateWithdraw {
return &MsgUpdateWithdraw{
Creator: creator,
TxId: txId,
TxId: txID,
Status: status,
}
}
Expand Down

0 comments on commit 7e77da9

Please # to comment.