build: add dev tag to the linter config
This commit is contained in:
2 files changed
+4
-1
No files matched your search
@@ -15,6 +15,7 @@ run:
|
|||||||
build-tags:
|
build-tags:
|
||||||
- autopilotrpc
|
- autopilotrpc
|
||||||
- chainrpc
|
- chainrpc
|
||||||
|
- dev
|
||||||
- invoicesrpc
|
- invoicesrpc
|
||||||
- signrpc
|
- signrpc
|
||||||
- walletrpc
|
- walletrpc
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ import (
|
|||||||
"github.com/lightningnetwork/lnd/chainntnfs/btcdnotify"
|
"github.com/lightningnetwork/lnd/chainntnfs/btcdnotify"
|
||||||
"github.com/lightningnetwork/lnd/chainntnfs/neutrinonotify"
|
"github.com/lightningnetwork/lnd/chainntnfs/neutrinonotify"
|
||||||
"github.com/lightningnetwork/lnd/channeldb"
|
"github.com/lightningnetwork/lnd/channeldb"
|
||||||
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
func testSingleConfirmationNotification(miner *rpctest.Harness,
|
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
|
// Reorganize transaction out of the chain by generating a longer fork
|
||||||
// from the other miner. The transaction is not included in this 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
|
// Reconnect nodes to reach consensus on the longest chain. miner2's chain
|
||||||
// should win and become active on miner1.
|
// should win and become active on miner1.
|
||||||
|
|||||||
Reference in new issue
Block a user