Added warning logs to obsolete methods on Downloader in backendwrappers.

This commit is contained in:
philip-morlier 2021-12-27 15:01:44 -08:00
parent 007ba02e4b
commit 9a4172189d

View File

@ -208,13 +208,13 @@ func (p *progress) HighestBlock() uint64 {
}
func (p *progress) PulledStates() uint64 {
log.Warn("PulledStates is no longer supported by Geth")
return 0
}
func (p *progress) KnownStates() uint64 {
log.Warn("KnownStates is no longer supported by Geth")
return 0
}
//TODO remove after new Plugeth-utils
func (p *progress) SyncedAccounts() uint64 {
return p.p.SyncedAccounts
}