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

@@ -380,6 +380,11 @@ func createTestChannelArbitrator(t *testing.T, log ArbitratorLog,
IsPendingClose: false,
ChainArbitratorConfig: chainArbCfg,
ChainEvents: chanEvents,
PutResolverReport: func(_ kvdb.RwTx,
_ *channeldb.ResolverReport) error {
return nil
},
}
// Apply all custom options to the config struct.