Skip to content

Commit

Permalink
fix error wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
nullpointer0x00 committed May 16, 2024
1 parent 778a0ea commit 17d4258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/marker/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -1335,7 +1335,7 @@ func GetCmdWithdrawEscrowProposal() *cobra.Command {

coins, err := sdk.ParseCoinsNormalized(args[1])
if err != nil {
return fmt.Errorf("invalid amount %s: %v", args[1], err)
return fmt.Errorf("invalid amount %s: %w", args[1], err)
}

targetAddress := args[2]
Expand Down

0 comments on commit 17d4258

Please sign in to comment.