mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
swarm/storage: Delint
This commit is contained in:
parent
de7454263d
commit
f38859d78a
1 changed files with 1 additions and 4 deletions
|
|
@ -665,10 +665,7 @@ func (self *ResourceHandler) resourceHash(period uint32, version uint32, namehas
|
||||||
}
|
}
|
||||||
|
|
||||||
func (self *ResourceHandler) hasUpdate(name string, period uint32) bool {
|
func (self *ResourceHandler) hasUpdate(name string, period uint32) bool {
|
||||||
if self.resources[name].lastPeriod == period {
|
return self.resources[name].lastPeriod == period
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func getAddressFromDataSig(datahash common.Hash, signature Signature) (common.Address, error) {
|
func getAddressFromDataSig(datahash common.Hash, signature Signature) (common.Address, error) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue