rpcserver: fix linter error

This commit is contained in:
Oliver Gugger 2020-05-20 09:12:53 +02:00
parent 36b90382d3
commit 3afaed8b5c
No known key found for this signature in database
GPG Key ID: 8E4256593F177720

View File

@ -4637,7 +4637,7 @@ func (r *rpcServer) GetTransactions(ctx context.Context,
// To remain backwards compatible with the old api, default to the
// special case end height which will return transactions from the start
// 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 req.EndHeight != 0 {