summaryrefslogtreecommitdiff
path: root/src/mint/test_mint_db.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-03-22 16:09:01 +0100
committerChristian Grothoff <christian@grothoff.org>2015-03-22 16:09:01 +0100
commit1277f8445d0497107c5bd41b35007480d6a4472a (patch)
treed6144643860085ba45f66e06748912acc83e6aa9 /src/mint/test_mint_db.c
parentc2a42d5475daf23889c720734edbafc8c2ce4e4f (diff)
downloadexchange-1277f8445d0497107c5bd41b35007480d6a4472a.tar.gz
exchange-1277f8445d0497107c5bd41b35007480d6a4472a.tar.bz2
exchange-1277f8445d0497107c5bd41b35007480d6a4472a.zip
include fees in amounts being signed, check available balance on refresh
Diffstat (limited to 'src/mint/test_mint_db.c')
-rw-r--r--src/mint/test_mint_db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mint/test_mint_db.c b/src/mint/test_mint_db.c
index e4d312927..c80be70c3 100644
--- a/src/mint/test_mint_db.c
+++ b/src/mint/test_mint_db.c
@@ -286,7 +286,7 @@ run (void *cls,
deposit.wire = wire;
deposit.transaction_id =
GNUNET_CRYPTO_random_u64 (GNUNET_CRYPTO_QUALITY_WEAK, UINT64_MAX);
- deposit.amount = amount;
+ deposit.amount_with_fee = amount;
FAILIF (GNUNET_OK !=
plugin->insert_deposit (plugin->cls,
session, &deposit));