diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-12-09 13:33:57 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-12-09 13:33:57 +0100 |
commit | d1c160d1b9bddfcd6f77148ae8a03944571fec25 (patch) | |
tree | f981900b86fa96e8e0baaa5c00c299d5c924e1dc /src/exchangedb/pg_do_purse_deposit.h | |
parent | f9cc76ad3c4d7a8c720e971a1a9cba1bb79fa974 (diff) | |
download | exchange-d1c160d1b9bddfcd6f77148ae8a03944571fec25.tar.xz |
properly handle GONE case on purse deposit
Diffstat (limited to 'src/exchangedb/pg_do_purse_deposit.h')
-rw-r--r-- | src/exchangedb/pg_do_purse_deposit.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exchangedb/pg_do_purse_deposit.h b/src/exchangedb/pg_do_purse_deposit.h index b4b9c35c8..779b6c0c8 100644 --- a/src/exchangedb/pg_do_purse_deposit.h +++ b/src/exchangedb/pg_do_purse_deposit.h @@ -43,6 +43,7 @@ * remaining balance is below @a amount; * in this case, the return value will be * #GNUNET_DB_STATUS_SUCCESS_ONE_RESULT despite the failure + * @param[out] too_late set to true if it is too late to deposit into the purse * @param[out] conflict set to true if the deposit failed due to a conflict (coin already spent, * or deposited into this purse with a different amount) * @return transaction status code @@ -56,6 +57,7 @@ TEH_PG_do_purse_deposit ( const struct TALER_CoinSpendSignatureP *coin_sig, const struct TALER_Amount *amount_minus_fee, bool *balance_ok, + bool *too_late, bool *conflict); #endif |