swarm/storage/feed/lookup: Add Base to Epoch.String()

This commit is contained in:
Javier Peletier 2019-04-04 16:19:30 +02:00
parent f87cc006bc
commit 78bf51827b

View file

@ -87,5 +87,5 @@ func (e *Epoch) Equals(epoch Epoch) bool {
// String implements the Stringer interface. // String implements the Stringer interface.
func (e *Epoch) String() string { func (e *Epoch) String() string {
return fmt.Sprintf("Epoch{Time:%d, Level:%d}", e.Time, e.Level) return fmt.Sprintf("Epoch{Base: %d, Time:%d, Level:%d}", e.Base(), e.Time, e.Level)
} }