mirror of
https://gitgud.io/yats/cerberus.git
synced 2026-05-02 02:32:18 -04:00
Fix resp.Body not closed when >1 steps
This commit is contained in:
@@ -42,7 +42,7 @@ func solveTest(ctx context.Context, hc http.Client, host string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
log.Printf("Solution hash: %x, nonce: %d, remaining steps: %d\n", s.Hash, s.Nonce, s.Steps)
|
||||
log.Printf("Solution hash: %x, nonce: %d\n", s.Hash, s.Nonce)
|
||||
|
||||
resp, err := Submit(ctx, hc, s, "")
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user