mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 22:25:24 +01:00
build: add dev tag to the linter config
This commit is contained in:
parent
1a8f094503
commit
d059f78b4d
2 changed files with 4 additions and 1 deletions
|
@ -15,6 +15,7 @@ run:
|
|||
build-tags:
|
||||
- autopilotrpc
|
||||
- chainrpc
|
||||
- dev
|
||||
- invoicesrpc
|
||||
- signrpc
|
||||
- walletrpc
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue