diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/util/amount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/amount.c b/src/util/amount.c index 5e7f69fd9..c13c9101e 100644 --- a/src/util/amount.c +++ b/src/util/amount.c @@ -348,7 +348,7 @@ TALER_amount_subtract (struct TALER_Amount *diff, return GNUNET_SYSERR; } GNUNET_assert (GNUNET_OK == - TALER_amount_get_zero (a1->currency, + TALER_amount_get_zero (n1.currency, diff)); GNUNET_assert (n1.fraction >= n2.fraction); diff->fraction = n1.fraction - n2.fraction; |