diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-03-05 14:36:49 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-03-05 14:36:55 +0100 |
commit | 7ff58c3d8f2351c57142b4b65ab75304f355fc4f (patch) | |
tree | 4d5de28cbc2cb51b9946c924b7dd228cfe0d0634 /src/testing/testing_api_cmd_offline_sign_fees.c | |
parent | 8a906bf96c9c418dbd58727284eb5cfdd6fdff24 (diff) |
refactor /wire to include logic to return the wad fee (for W2W payments)
Diffstat (limited to 'src/testing/testing_api_cmd_offline_sign_fees.c')
-rw-r--r-- | src/testing/testing_api_cmd_offline_sign_fees.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/testing/testing_api_cmd_offline_sign_fees.c b/src/testing/testing_api_cmd_offline_sign_fees.c index 95f52a00..8cf9fffe 100644 --- a/src/testing/testing_api_cmd_offline_sign_fees.c +++ b/src/testing/testing_api_cmd_offline_sign_fees.c @@ -52,6 +52,11 @@ struct OfflineSignState const char *wire_fee_s; /** + * The wad fee to sign. + */ + const char *wad_fee_s; + + /** * The closing fee to sign. */ const char *closing_fee_s; @@ -86,6 +91,7 @@ offlinesign_run (void *cls, "x-taler-bank", ks->wire_fee_s, ks->closing_fee_s, + ks->wad_fee_s, "upload", NULL); if (NULL == ks->offlinesign_proc) @@ -157,13 +163,15 @@ struct TALER_TESTING_Command TALER_TESTING_cmd_exec_offline_sign_fees (const char *label, const char *config_filename, const char *wire_fee, - const char *closing_fee) + const char *closing_fee, + const char *wad_fee) { struct OfflineSignState *ks; ks = GNUNET_new (struct OfflineSignState); ks->config_filename = config_filename; ks->wire_fee_s = wire_fee; + ks->wad_fee_s = wad_fee; ks->closing_fee_s = closing_fee; { struct TALER_TESTING_Command cmd = { |