mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 09:23:48 +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 {
|
||||
if self.resources[name].lastPeriod == period {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
return self.resources[name].lastPeriod == period
|
||||
}
|
||||
|
||||
func getAddressFromDataSig(datahash common.Hash, signature Signature) (common.Address, error) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue