fix sidechain test: provide Context on fake server
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
cd99095931
commit
8b864628f0
|
@ -178,6 +178,10 @@ type fakeServer struct {
|
|||
lastHeader atomic.Pointer[mainblock.Header]
|
||||
}
|
||||
|
||||
func (s *fakeServer) Context() context.Context {
|
||||
return context.Background()
|
||||
}
|
||||
|
||||
func (s *fakeServer) Consensus() *Consensus {
|
||||
return s.consensus
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue