contractcourt: add PutResolverReport function to chanArb config

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

View File

@@ -11,6 +11,8 @@ import (
"github.com/btcsuite/btcd/txscript"
"github.com/btcsuite/btcd/wire"
"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/lntypes"
"github.com/lightningnetwork/lnd/lnwallet"
@@ -248,6 +250,11 @@ func TestHtlcTimeoutResolver(t *testing.T) {
return nil
},
},
PutResolverReport: func(_ kvdb.RwTx,
_ *channeldb.ResolverReport) error {
return nil
},
}
cfg := ResolverConfig{