build: add dev tag to the linter config

This commit is contained in:
Andras Banki-Horvath 2022-01-24 17:42:14 +01:00
parent 1a8f094503
commit d059f78b4d
No known key found for this signature in database
GPG key ID: 80E5375C094198D8
2 changed files with 4 additions and 1 deletions

View file

@ -15,6 +15,7 @@ run:
build-tags:
- autopilotrpc
- chainrpc
- dev
- invoicesrpc
- signrpc
- walletrpc

View file

@ -26,6 +26,7 @@ import (
"github.com/lightningnetwork/lnd/chainntnfs/btcdnotify"
"github.com/lightningnetwork/lnd/chainntnfs/neutrinonotify"
"github.com/lightningnetwork/lnd/channeldb"
"github.com/stretchr/testify/require"
)
func testSingleConfirmationNotification(miner *rpctest.Harness,
@ -1178,7 +1179,8 @@ func testReorgConf(miner *rpctest.Harness,
// Reorganize transaction out of the chain by generating a longer fork
// from the other miner. The transaction is not included in this fork.
miner2.Client.Generate(2)
_, err = miner2.Client.Generate(2)
require.NoError(t, err)
// Reconnect nodes to reach consensus on the longest chain. miner2's chain
// should win and become active on miner1.