@@ -174,8 +174,8 @@ func testOutcome(t *testing.T, outcomeCodec OutcomeCodec) {
174174 }
175175
176176 // Verify channel is reportable before tombstoning
177- require .Nil (t , previousOutcome .IsReportable (channelID , 1 , uint64 (100 * time .Millisecond ), p . ReportCodecs , p . ChannelDefinitionOptsCache ))
178- reportable , _ := previousOutcome .ReportableChannels (1 , uint64 (100 * time .Millisecond ), p . ReportCodecs , p . ChannelDefinitionOptsCache )
177+ require .Nil (t , previousOutcome .IsReportable (channelID , 1 , uint64 (100 * time .Millisecond )))
178+ reportable , _ := previousOutcome .ReportableChannels (1 , uint64 (100 * time .Millisecond ))
179179 assert .Contains (t , reportable , channelID )
180180
181181 // Encode previous outcome
@@ -215,12 +215,12 @@ func testOutcome(t *testing.T, outcomeCodec OutcomeCodec) {
215215 assert .Equal (t , tombstonedCd , decoded .ChannelDefinitions [channelID ])
216216
217217 // Verify channel is no longer reportable
218- err = decoded .IsReportable (channelID , 1 , uint64 (100 * time .Millisecond ), p . ReportCodecs , p . ChannelDefinitionOptsCache )
218+ err = decoded .IsReportable (channelID , 1 , uint64 (100 * time .Millisecond ))
219219 require .NotNil (t , err )
220220 assert .Contains (t , err .Error (), "tombstone channel" )
221221
222222 // Verify ReportableChannels excludes the tombstoned channel
223- reportable , unreportable := decoded .ReportableChannels (1 , uint64 (100 * time .Millisecond ), p . ReportCodecs , p . ChannelDefinitionOptsCache )
223+ reportable , unreportable := decoded .ReportableChannels (1 , uint64 (100 * time .Millisecond ))
224224 assert .NotContains (t , reportable , channelID , "Tombstoned channel should not be in reportable list" )
225225 require .Len (t , unreportable , 1 )
226226 assert .Equal (t , channelID , unreportable [0 ].ChannelID )
0 commit comments