fix last_cpd initialization

This commit is contained in:
Christian Grothoff 2021-05-27 10:37:53 +02:00
parent fe72adf666
commit 3986c9ae2d
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -1541,8 +1541,8 @@ finish_keys_response (struct TEH_KeyStateHandle *ksh)
json_decref (recoup);
return GNUNET_SYSERR;
}
last_cpd = dk->meta.start;
}
last_cpd = dk->meta.start;
GNUNET_CRYPTO_hash_context_read (hash_context,
&dk->h_denom_pub,
sizeof (struct GNUNET_HashCode));
@ -1602,7 +1602,6 @@ finish_keys_response (struct TEH_KeyStateHandle *ksh)
json_decref (recoup);
return GNUNET_SYSERR;
}
}
json_decref (sctx.signkeys);
json_decref (recoup);