mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
swarm/storage/mru: fix linter errors
This commit is contained in:
parent
07c2aa7047
commit
3c75f9dca2
3 changed files with 4 additions and 7 deletions
|
|
@ -39,10 +39,9 @@ var (
|
||||||
startTime = Timestamp{
|
startTime = Timestamp{
|
||||||
Time: uint64(4200),
|
Time: uint64(4200),
|
||||||
}
|
}
|
||||||
resourceFrequency = uint64(42)
|
cleanF func()
|
||||||
cleanF func()
|
resourceName = "føø.bar"
|
||||||
resourceName = "føø.bar"
|
hashfunc = storage.MakeHashFunc(storage.DefaultHash)
|
||||||
hashfunc = storage.MakeHashFunc(storage.DefaultHash)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -43,8 +43,6 @@ type updateRequestJSON struct {
|
||||||
Signature string `json:"signature,omitempty"`
|
Signature string `json:"signature,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
var zeroAddr = common.Address{}
|
|
||||||
|
|
||||||
// Request layout
|
// Request layout
|
||||||
// resourceUpdate bytes
|
// resourceUpdate bytes
|
||||||
// SignatureLength bytes
|
// SignatureLength bytes
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue