From 3afaed8b5c70a0726017a20d2c865cbcc5e3b3da Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Wed, 20 May 2020 09:12:53 +0200 Subject: [PATCH] rpcserver: fix linter error --- rpcserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcserver.go b/rpcserver.go index 6e0af9a9..9399d10f 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -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 {