mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-06 01:32:18 +00:00
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
|
||
|
}
|