mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-05 17:22:18 +00:00
9fcc6fc201
* context timeout for pubsub message processing * add syncing check * gofmt * use a global cache * lint * fmt * fix conflicts * revert change * gaz
17 lines
228 B
Go
17 lines
228 B
Go
package testing
|
|
|
|
// Sync defines a mock for the sync service.
|
|
type Sync struct {
|
|
IsSyncing bool
|
|
}
|
|
|
|
// Syncing --
|
|
func (s *Sync) Syncing() bool {
|
|
return s.IsSyncing
|
|
}
|
|
|
|
// Status --
|
|
func (s *Sync) Status() error {
|
|
return nil
|
|
}
|