tolerate total-amount==fee in aggregator
This commit is contained in:
parent
34887e55eb
commit
1910d6648c
@ -597,7 +597,7 @@ deposit_cb (void *cls,
|
|||||||
enum GNUNET_DB_QueryStatus qs;
|
enum GNUNET_DB_QueryStatus qs;
|
||||||
|
|
||||||
au->merchant_pub = *merchant_pub;
|
au->merchant_pub = *merchant_pub;
|
||||||
if (GNUNET_OK !=
|
if (GNUNET_SYSERR ==
|
||||||
TALER_amount_subtract (&au->total_amount,
|
TALER_amount_subtract (&au->total_amount,
|
||||||
amount_with_fee,
|
amount_with_fee,
|
||||||
deposit_fee))
|
deposit_fee))
|
||||||
@ -694,7 +694,7 @@ aggregate_cb (void *cls,
|
|||||||
merchant_pub,
|
merchant_pub,
|
||||||
sizeof (struct TALER_MerchantPublicKeyP)));
|
sizeof (struct TALER_MerchantPublicKeyP)));
|
||||||
/* compute contribution of this coin after fees */
|
/* compute contribution of this coin after fees */
|
||||||
if (GNUNET_OK !=
|
if (GNUNET_SYSERR ==
|
||||||
TALER_amount_subtract (&delta,
|
TALER_amount_subtract (&delta,
|
||||||
amount_with_fee,
|
amount_with_fee,
|
||||||
deposit_fee))
|
deposit_fee))
|
||||||
|
Loading…
Reference in New Issue
Block a user