diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-02-21 12:41:22 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-02-21 12:41:22 +0100 |
commit | 3c9757a163348f9bbf78632dc7bfcc0d2d465eea (patch) | |
tree | 0f9dbe0ff538f4f342e8ef96f324feebc0252dba /src/exchange-lib/testing_api_cmd_fakebank_transfer.c | |
parent | 377f35fd7da097372ca494b8b30569b73336cdf2 (diff) | |
download | exchange-3c9757a163348f9bbf78632dc7bfcc0d2d465eea.tar.xz |
actually loading config
Diffstat (limited to 'src/exchange-lib/testing_api_cmd_fakebank_transfer.c')
-rw-r--r-- | src/exchange-lib/testing_api_cmd_fakebank_transfer.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/exchange-lib/testing_api_cmd_fakebank_transfer.c b/src/exchange-lib/testing_api_cmd_fakebank_transfer.c index 2fa67f18e..7da4bf09c 100644 --- a/src/exchange-lib/testing_api_cmd_fakebank_transfer.c +++ b/src/exchange-lib/testing_api_cmd_fakebank_transfer.c @@ -219,6 +219,16 @@ fakebank_transfer_run (void *cls, struct GNUNET_CRYPTO_EddsaPrivateKey *priv; struct GNUNET_CONFIGURATION_Handle *cfg; cfg = GNUNET_CONFIGURATION_create (); + + if (GNUNET_OK != + GNUNET_CONFIGURATION_load (cfg, + fts->config_filename)) + { + GNUNET_break (0); + TALER_TESTING_interpreter_fail (is); + return; + } + GNUNET_asprintf (§ion, "merchant-instance-%s", fts->instance); |