Skip to content

Commit

Permalink
fix: remove useless error handle
Browse files Browse the repository at this point in the history
  • Loading branch information
ALPAC-4 committed Nov 29, 2023
1 parent b125728 commit e630ee6
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions x/move/client/cli/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,7 @@ func BcsSerializeArg(argType string, arg string, s serde.Serializer) ([]byte, er
if err != nil {
return nil, err
}

bcsBytes, err := accAddr.BcsSerialize();

if err != nil {
return nil, err
}
return bcsBytes, nil
return accAddr.BcsSerialize();

case "string":
if err := s.SerializeStr(arg); err != nil {
Expand Down

0 comments on commit e630ee6

Please sign in to comment.