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/auditor/taler-helper-auditor-reserves.c | |
parent | 8a906bf96c9c418dbd58727284eb5cfdd6fdff24 (diff) | |
download | exchange-7ff58c3d8f2351c57142b4b65ab75304f355fc4f.tar.xz |
refactor /wire to include logic to return the wad fee (for W2W payments)
Diffstat (limited to 'src/auditor/taler-helper-auditor-reserves.c')
-rw-r--r-- | src/auditor/taler-helper-auditor-reserves.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/auditor/taler-helper-auditor-reserves.c b/src/auditor/taler-helper-auditor-reserves.c index f14a39995..f34f0c467 100644 --- a/src/auditor/taler-helper-auditor-reserves.c +++ b/src/auditor/taler-helper-auditor-reserves.c @@ -862,7 +862,7 @@ get_closing_fee (const char *receiver_account, struct TALER_MasterSignatureP master_sig; struct GNUNET_TIME_Timestamp start_date; struct GNUNET_TIME_Timestamp end_date; - struct TALER_Amount wire_fee; + struct TALER_WireFeeSet fees; char *method; method = TALER_payto_get_method (receiver_account); @@ -875,8 +875,7 @@ get_closing_fee (const char *receiver_account, atime, &start_date, &end_date, - &wire_fee, - fee, + &fees, &master_sig)) { char *diag; @@ -892,6 +891,7 @@ get_closing_fee (const char *receiver_account, GNUNET_free (method); return GNUNET_SYSERR; } + *fee = fees.closing; GNUNET_free (method); return GNUNET_OK; } |