diff options
| author | Christian Grothoff <christian@grothoff.org> | 2020-07-05 20:43:28 +0200 | 
|---|---|---|
| committer | Christian Grothoff <christian@grothoff.org> | 2020-07-05 20:43:28 +0200 | 
| commit | 6de49ea2c02e311e5f5366005bd3497a9bb25187 (patch) | |
| tree | a221b9c784b4e004eb5972e18516653d1aea6a5c /src/auditor/taler-helper-auditor-coins.c | |
| parent | e428783e2e0295186dc4eae273df8a3f8b75df60 (diff) | |
| parent | ed5b98a2c2308fbd44b906a30286d2689fd304dd (diff) | |
Merge branch 'protocolv8'
Diffstat (limited to 'src/auditor/taler-helper-auditor-coins.c')
| -rw-r--r-- | src/auditor/taler-helper-auditor-coins.c | 9 | 
1 files changed, 5 insertions, 4 deletions
| diff --git a/src/auditor/taler-helper-auditor-coins.c b/src/auditor/taler-helper-auditor-coins.c index 663532af..1a03ac72 100644 --- a/src/auditor/taler-helper-auditor-coins.c +++ b/src/auditor/taler-helper-auditor-coins.c @@ -1535,7 +1535,8 @@ refresh_session_cb (void *cls,   *   * @param cls closure   * @param rowid unique serial ID for the deposit in our DB - * @param timestamp when did the deposit happen + * @param exchange_timestamp when did the exchange get the deposit + * @param wallet_timestamp when did the contract signing happen   * @param merchant_pub public key of the merchant   * @param denom_pub denomination public key of @a coin_pub   * @param coin_pub public key of the coin @@ -1553,7 +1554,8 @@ refresh_session_cb (void *cls,  static int  deposit_cb (void *cls,              uint64_t rowid, -            struct GNUNET_TIME_Absolute timestamp, +            struct GNUNET_TIME_Absolute exchange_timestamp, +            struct GNUNET_TIME_Absolute wallet_timestamp,              const struct TALER_MerchantPublicKeyP *merchant_pub,              const struct TALER_DenominationPublicKey *denom_pub,              const struct TALER_CoinSpendPublicKeyP *coin_pub, @@ -1611,7 +1613,7 @@ deposit_cb (void *cls,        .purpose.purpose = htonl (TALER_SIGNATURE_WALLET_COIN_DEPOSIT),        .purpose.size = htonl (sizeof (dr)),        .h_contract_terms = *h_contract_terms, -      .timestamp = GNUNET_TIME_absolute_hton (timestamp), +      .wallet_timestamp = GNUNET_TIME_absolute_hton (wallet_timestamp),        .refund_deadline = GNUNET_TIME_absolute_hton (refund_deadline),        .deposit_fee = issue->fee_deposit,        .merchant = *merchant_pub, @@ -1802,7 +1804,6 @@ refund_cb (void *cls,        .coin_pub = *coin_pub,        .merchant = *merchant_pub,        .rtransaction_id = GNUNET_htonll (rtransaction_id), -      .refund_fee = issue->fee_refund      };      TALER_amount_hton (&rr.refund_amount, | 
