More than one result is legit

Este commit está contenido en:
2023-05-11 21:29:15 +00:00
padre f6cb2d8d12
commit 0594b0ea60

Ver fichero

@@ -160,8 +160,8 @@ func GetInfo(hash string) (info Info, err error) {
return return
} }
if len(info.Result) != 1 { if len(info.Result) == 0 {
err = errors.New("API mismatch") err = errors.New("empty response")
} }
return return
} }