Skip to content

Commit

Permalink
v3tool: Remove unnecessary err check.
Browse files Browse the repository at this point in the history
err has already been checked and is known to be nil at this point.
  • Loading branch information
jholdstock committed May 14, 2024
1 parent cdd02db commit 17e9738
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions cmd/v3tool/main.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2022-2023 The Decred developers
// Copyright (c) 2022-2024 The Decred developers
// Use of this source code is governed by an ISC
// license that can be found in the LICENSE file.

Expand Down Expand Up @@ -87,11 +87,6 @@ func run() int {
Log: log,
}

if err != nil {
log.Errorf("%v", err)
return 1
}

// Get list of tickets
tickets, err := walletRPC.getTickets(ctx)
if err != nil {
Expand Down

0 comments on commit 17e9738

Please sign in to comment.