rpcserver: fix linter error
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -4637,7 +4637,7 @@ func (r *rpcServer) GetTransactions(ctx context.Context,
|
|||||||
// To remain backwards compatible with the old api, default to the
|
// To remain backwards compatible with the old api, default to the
|
||||||
// special case end height which will return transactions from the start
|
// special case end height which will return transactions from the start
|
||||||
// height until the chain tip, including unconfirmed transactions.
|
// height until the chain tip, including unconfirmed transactions.
|
||||||
var endHeight int32 = btcwallet.UnconfirmedHeight
|
var endHeight = btcwallet.UnconfirmedHeight
|
||||||
|
|
||||||
// If the user has provided an end height, we overwrite our default.
|
// If the user has provided an end height, we overwrite our default.
|
||||||
if req.EndHeight != 0 {
|
if req.EndHeight != 0 {
|
||||||
|
|||||||
Reference in new issue
Block a user