gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: -simplify 200 vs. 204 in fakeban


From: gnunet
Subject: [taler-exchange] branch master updated: -simplify 200 vs. 204 in fakebank
Date: Mon, 19 Dec 2022 14:47:28 +0100

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 37367335 -simplify 200 vs. 204 in fakebank
37367335 is described below

commit 373673352fbbddebdba3dc0b83da5dc0f2cbfd29
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Dec 19 14:47:25 2022 +0100

    -simplify 200 vs. 204 in fakebank
---
 src/bank-lib/fakebank.c | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c
index c067889a..76e4db70 100644
--- a/src/bank-lib/fakebank.c
+++ b/src/bank-lib/fakebank.c
@@ -2310,16 +2310,6 @@ handle_debit_history (struct TALER_FAKEBANK_Handle *h,
       pos = t;
     }
   }
-  if (0 == ha.delta)
-  {
-    GNUNET_log (GNUNET_ERROR_TYPE_INFO,
-                "No debit transactions exist after given starting point\n");
-    return TALER_MHD_reply_static (connection,
-                                   MHD_HTTP_NO_CONTENT,
-                                   NULL,
-                                   NULL,
-                                   0);
-  }
   if (NULL != pos)
     GNUNET_log (GNUNET_ERROR_TYPE_INFO,
                 "Returning %lld debit transactions starting (inclusive) from 
%llu\n",
@@ -2536,16 +2526,6 @@ handle_credit_history (struct TALER_FAKEBANK_Handle *h,
       pos = t;
     }
   }
-  if (0 == ha.delta)
-  {
-    GNUNET_log (GNUNET_ERROR_TYPE_INFO,
-                "No credit transactions exist after given starting point\n");
-    return TALER_MHD_reply_static (connection,
-                                   MHD_HTTP_NO_CONTENT,
-                                   NULL,
-                                   NULL,
-                                   0);
-  }
   if (NULL != pos)
     GNUNET_log (GNUNET_ERROR_TYPE_INFO,
                 "Returning %lld credit transactions starting (inclusive) from 
%llu\n",

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]