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

+6 -1
View File
@@ -133,7 +133,12 @@ func newTestBoltArbLog(chainhash chainhash.Hash,
return nil, nil, err
}
testArbCfg := ChannelArbitratorConfig{}
testArbCfg := ChannelArbitratorConfig{
PutResolverReport: func(_ kvdb.RwTx,
_ *channeldb.ResolverReport) error {
return nil
},
}
testLog, err := newBoltArbitratorLog(testDB, testArbCfg, chainhash, op)
if err != nil {
return nil, nil, err