mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-11-24 14:35:47 +00:00
fix: remove error from valid check
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
parent
2a5b7c49c8
commit
199905d2dc
@ -256,7 +256,7 @@ func IsLegitMachineAddress(address string) (active bool, err error) {
|
|||||||
|
|
||||||
// Check the status code
|
// Check the status code
|
||||||
if resp.StatusCode != http.StatusOK {
|
if resp.StatusCode != http.StatusOK {
|
||||||
log.Print("[app] [Monitor] Error: unexpected status code: " + string(body))
|
log.Print("[app] [Monitor] unexpected status code: " + string(body))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user