contractcourt: add PutResolverReport function to chanArb config

This commit is contained in:
carla committed 2020-07-07 19:49:50 +02:00
1 parent 578af99618
commit 8c8f857f60
8 files changed
+62 -4

No files matched your search

@@ -7,6 +7,8 @@ import (
"github.com/btcsuite/btcd/wire"
"github.com/btcsuite/btcutil"
"github.com/lightningnetwork/lnd/chainntnfs"
"github.com/lightningnetwork/lnd/channeldb"
"github.com/lightningnetwork/lnd/channeldb/kvdb"
"github.com/lightningnetwork/lnd/input"
"github.com/lightningnetwork/lnd/lnwallet"
"github.com/lightningnetwork/lnd/lnwallet/chainfee"
@@ -39,6 +41,11 @@ func newCommitSweepResolverTestContext(t *testing.T,
Notifier: notifier,
Sweeper: sweeper,
},
PutResolverReport: func(_ kvdb.RwTx,
_ *channeldb.ResolverReport) error {
return nil
},
}
cfg := ResolverConfig{