v3tool: Remove unnecessary err check.

err has already been checked and is known to be nil at this point.
This commit is contained in:
jholdstock 2024-05-13 14:00:17 +01:00 committed by Jamie Holdstock
parent cdd02dbd2e
commit 17e97384e5

View File

@ -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.
@ -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 {