mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Fix golint reported issue
This commit is contained in:
parent
461310e401
commit
401b1c86a4
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ func TestHashRate(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
api := &API{ubqhash}
|
api := &API{ubqhash}
|
||||||
for i := 0; i < len(hashrate); i += 1 {
|
for i := 0; i < len(hashrate); i++ {
|
||||||
if res := api.SubmitHashRate(hashrate[i], ids[i]); !res {
|
if res := api.SubmitHashRate(hashrate[i], ids[i]); !res {
|
||||||
t.Error("remote miner submit hashrate failed")
|
t.Error("remote miner submit hashrate failed")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue