contractcourt: add PutResolverReport function to chanArb config
This commit is contained in:
8 files changed
+62
-4
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user