aboutsummaryrefslogtreecommitdiff
path: root/src/mint
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-09-14 11:56:37 +0200
committerChristian Grothoff <christian@grothoff.org>2015-09-14 11:56:37 +0200
commit6501118f6c345fc1a4810611f8631172b105c279 (patch)
treeddb98a47c0b9e08724caf11e8d818e2600d931d9 /src/mint
parentb04c5c7f305ca933748cad6f7f2308e2036ee205 (diff)
remove /lock skeleton logic (#3625)
Diffstat (limited to 'src/mint')
-rw-r--r--src/mint/taler-mint-httpd_db.c9
-rw-r--r--src/mint/taler-mint-httpd_responses.c8
2 files changed, 0 insertions, 17 deletions
diff --git a/src/mint/taler-mint-httpd_db.c b/src/mint/taler-mint-httpd_db.c
index 0e5ac1429..27031da21 100644
--- a/src/mint/taler-mint-httpd_db.c
+++ b/src/mint/taler-mint-httpd_db.c
@@ -67,15 +67,6 @@ calculate_transaction_list_totals (struct TALER_MINTDB_TransactionList *tl,
return GNUNET_SYSERR;
}
break;
- case TALER_MINTDB_TT_LOCK:
- /* should check if lock is still active,
- and if it is for THIS operation; if
- lock is inactive, delete it; if lock
- is for THIS operation, ignore it;
- if lock is for another operation,
- count it! */
- GNUNET_assert (0); // FIXME: not implemented! (#3625)
- return GNUNET_SYSERR;
}
}
*ret = spent;
diff --git a/src/mint/taler-mint-httpd_responses.c b/src/mint/taler-mint-httpd_responses.c
index eb883b631..ce04fa41a 100644
--- a/src/mint/taler-mint-httpd_responses.c
+++ b/src/mint/taler-mint-httpd_responses.c
@@ -465,14 +465,6 @@ compile_transaction_history (const struct TALER_MINTDB_TransactionList *tl)
&melt->coin_sig.eddsa_signature);
}
break;
- case TALER_MINTDB_TT_LOCK:
- {
- type = "lock";
- value = pos->details.lock->amount;
- transaction = NULL;
- GNUNET_break (0); /* #3625: Lock NOT implemented! */
- break;
- }
default:
GNUNET_assert (0);
}