[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: fix auditor-offline issue
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: fix auditor-offline issue |
Date: |
Tue, 22 Jun 2021 19:48:21 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 9fb6ea32 fix auditor-offline issue
9fb6ea32 is described below
commit 9fb6ea320337fba12437f70c3172917a2e76cb3b
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Jun 22 19:48:18 2021 +0200
fix auditor-offline issue
---
src/exchange-tools/taler-auditor-offline.c | 14 +++++++++++---
src/exchangedb/plugin_exchangedb_postgres.c | 1 -
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/src/exchange-tools/taler-auditor-offline.c
b/src/exchange-tools/taler-auditor-offline.c
index 17ae1083..81e2bfeb 100644
--- a/src/exchange-tools/taler-auditor-offline.c
+++ b/src/exchange-tools/taler-auditor-offline.c
@@ -884,9 +884,9 @@ parse_keys (const char *command_name)
{
json_error_t err;
- out = json_loadf (stdin,
- JSON_REJECT_DUPLICATES,
- &err);
+ in = json_loadf (stdin,
+ JSON_REJECT_DUPLICATES,
+ &err);
if (NULL == in)
{
fprintf (stderr,
@@ -958,7 +958,11 @@ do_show (char *const *args)
keys = parse_keys ("show");
if (NULL == keys)
+ {
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "Showing failed: no valid input\n");
return;
+ }
if (GNUNET_OK !=
GNUNET_JSON_parse (keys,
spec,
@@ -1155,7 +1159,11 @@ do_sign (char *const *args)
keys = parse_keys ("sign");
if (NULL == keys)
+ {
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "Signing failed: no valid input\n");
return;
+ }
if (GNUNET_OK !=
load_offline_key (GNUNET_NO))
{
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c
b/src/exchangedb/plugin_exchangedb_postgres.c
index 9032d0da..0be6b3ee 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -3551,7 +3551,6 @@ postgres_reserves_in_insert (void *cls,
/* Create new incoming transaction, "ON CONFLICT DO NOTHING"
is again used to guard against duplicates. */
-
{
enum GNUNET_DB_QueryStatus qs2;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: fix auditor-offline issue,
gnunet <=