cli: use fmt.Append* where possibble
Close #2629. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
parent
3aa858a69f
commit
e06051e14c
3 changed files with 66 additions and 57 deletions
|
@ -29,7 +29,10 @@ func txDump(ctx *cli.Context) error {
|
|||
return cli.NewExitError("verifiable item is not a transaction", 1)
|
||||
}
|
||||
|
||||
query.DumpApplicationLog(ctx, nil, tx, nil, true)
|
||||
err = query.DumpApplicationLog(ctx, nil, tx, nil, true)
|
||||
if err != nil {
|
||||
return cli.NewExitError(err, 1)
|
||||
}
|
||||
|
||||
if ctx.String(options.RPCEndpointFlag) != "" {
|
||||
gctx, cancel := options.GetTimeoutContext(ctx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue