From e6b13123d78c7da4fdcb2cf0e7eb5fafe1f62975 Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Wed, 18 Mar 2015 13:50:03 +0100 Subject: update reserve summary when withdraws are made through insert_collectible_blindcoin --- src/mint/mint_db.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mint/mint_db.h') diff --git a/src/mint/mint_db.h b/src/mint/mint_db.h index 4a9ec1524..cec243c99 100644 --- a/src/mint/mint_db.h +++ b/src/mint/mint_db.h @@ -252,6 +252,8 @@ TALER_MINT_DB_get_collectable_blindcoin (PGconn *db_conn, * * @param db_conn database connection to use * @param h_blind hash of the blinded message + * @param withdraw amount by which the reserve will be withdrawn with this + * transaction * @param collectable corresponding collectable coin (blind signature) * if a coin is found * @return #GNUNET_SYSERR on internal error @@ -261,6 +263,7 @@ TALER_MINT_DB_get_collectable_blindcoin (PGconn *db_conn, int TALER_MINT_DB_insert_collectable_blindcoin (PGconn *db_conn, const struct GNUNET_HashCode *h_blind, + struct TALER_Amount withdraw, const struct CollectableBlindcoin *collectable); -- cgit v1.2.3