forked from cerc-io/plugeth
Added warning logs to obsolete methods on Downloader in backendwrappers.
This commit is contained in:
parent
007ba02e4b
commit
9a4172189d
@ -208,13 +208,13 @@ func (p *progress) HighestBlock() uint64 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (p *progress) PulledStates() uint64 {
|
func (p *progress) PulledStates() uint64 {
|
||||||
|
log.Warn("PulledStates is no longer supported by Geth")
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
func (p *progress) KnownStates() uint64 {
|
func (p *progress) KnownStates() uint64 {
|
||||||
|
log.Warn("KnownStates is no longer supported by Geth")
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO remove after new Plugeth-utils
|
|
||||||
func (p *progress) SyncedAccounts() uint64 {
|
func (p *progress) SyncedAccounts() uint64 {
|
||||||
return p.p.SyncedAccounts
|
return p.p.SyncedAccounts
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user