Skip to content

Commit

Permalink
Update encode
Browse files Browse the repository at this point in the history
  • Loading branch information
sahith-narahari committed Jul 29, 2020
1 parent 7771328 commit 423cbcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/auth/client/cli/encode.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package cli

import (
"encoding/base64"
"fmt"

"github.com/spf13/cobra"

Expand Down Expand Up @@ -37,8 +38,7 @@ If you supply a dash (-) argument in place of an input filename, the command rea
// base64 encode the encoded tx bytes
txBytesBase64 := base64.StdEncoding.EncodeToString(txBytes)

cmd.Printf("%s\n", txBytesBase64)

err = clientCtx.PrintString(fmt.Sprintf("%s\n", txBytesBase64))
return nil
},
}
Expand Down

0 comments on commit 423cbcb

Please sign in to comment.