Skip to content

Commit

Permalink
fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-forbes committed Feb 19, 2021
1 parent c0a5e6c commit 80afc2a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion x/lazyledgerapp/client/cli/txpayformessage.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ func CmdCreatePayForMessage() *cobra.Command {
&types.TransactionFee{}, // transaction fee is not yet used
types.SquareSize,
)
if err != nil {
return err
}

// sign the PayForMessage's ShareCommitments
err = pfmMsg.SignShareCommits(accName, clientCtx.Keyring)
Expand All @@ -65,7 +68,7 @@ func CmdCreatePayForMessage() *cobra.Command {
}

// run message checks
if err := pfmMsg.ValidateBasic(); err != nil {
if err = pfmMsg.ValidateBasic(); err != nil {
return err
}
return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), pfmMsg)
Expand Down

0 comments on commit 80afc2a

Please sign in to comment.