v3tool: Remove unnecessary err check.
err has already been checked and is known to be nil at this point.
This commit is contained in:
parent
cdd02dbd2e
commit
17e97384e5
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user