Skip to content

Commit

Permalink
update check errors
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouxing committed Nov 12, 2023
1 parent 02ab7f5 commit a44e93a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions x/bitcoincommiter/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ var (
)

const (
flagPacketTimeoutTimestamp = "packet-timeout-timestamp"
listSeparator = ","
// flagPacketTimeoutTimestamp = "packet-timeout-timestamp"
// listSeparator = ","
)

// GetTxCmd returns the transaction commands for this module
Expand Down
5 changes: 2 additions & 3 deletions x/bitcoincommiter/types/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ package types
// DONTCOVER

import (
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
errorsmod "cosmossdk.io/errors"
)

// x/bitcoincommiter module sentinel errors
var (
ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")

ErrSample = errorsmod.Register(ModuleName, 1100, "sample error")
)

0 comments on commit a44e93a

Please sign in to comment.