Skip to content

Commit 6a45c0e

Browse files
committed
Update test interface
1 parent 4f7528b commit 6a45c0e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

blockservice/blockservice_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,10 @@ func (f *fakeIsNewSessionCreateExchange) NewSession(context.Context) exchange.Fe
317317
return f.ses
318318
}
319319

320+
func (*fakeIsNewSessionCreateExchange) NotifyNewBlock(context.Context, blocks.Block) error {
321+
return nil
322+
}
323+
320324
func (*fakeIsNewSessionCreateExchange) NotifyNewBlocks(context.Context, ...blocks.Block) error {
321325
return nil
322326
}

0 commit comments

Comments
 (0)