diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-03-28 14:39:31 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-03-28 14:39:31 +0100 |
commit | c2fd4896a69a2404fc8b468da2cb6161db97bb3d (patch) | |
tree | 91aa01221cb6cb921034a229026b48c2e5720648 /src/mintdb/test_mintdb_deposits.c | |
parent | 3b9b7fa0994654d146b9968503e007b022c738c6 (diff) | |
download | exchange-c2fd4896a69a2404fc8b468da2cb6161db97bb3d.tar.xz |
fixing a few missing renames for structs
Diffstat (limited to 'src/mintdb/test_mintdb_deposits.c')
-rw-r--r-- | src/mintdb/test_mintdb_deposits.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mintdb/test_mintdb_deposits.c b/src/mintdb/test_mintdb_deposits.c index 766bedd70..171fa2c69 100644 --- a/src/mintdb/test_mintdb_deposits.c +++ b/src/mintdb/test_mintdb_deposits.c @@ -78,7 +78,7 @@ run (void *cls, "\"NAME\":\"GNUNET E.V\"," "\"BIC\":\"GENODEF1SRL\"" "}"; - struct Deposit *deposit; + struct TALER_MINTDB_Deposit *deposit; uint64_t transaction_id; struct TALER_MINTDB_Session *session; @@ -90,11 +90,11 @@ run (void *cls, session = plugin->get_session (plugin->cls, ! persistent); EXITIF (NULL == session); - deposit = GNUNET_malloc (sizeof (struct Deposit) + sizeof (wire)); + deposit = GNUNET_malloc (sizeof (struct TALER_MINTDB_Deposit) + sizeof (wire)); /* Makeup a random coin public key */ GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_WEAK, deposit, - sizeof (struct Deposit)); + sizeof (struct TALER_MINTDB_Deposit)); /* Makeup a random 64bit transaction ID */ transaction_id = GNUNET_CRYPTO_random_u64 (GNUNET_CRYPTO_QUALITY_WEAK, UINT64_MAX); |