From 481ffc1a0a2c808316877a76d74262aa61274a26 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 1 Nov 2022 16:43:59 +0100 Subject: remove wad fee, kyc fee and kyc-timeout --- src/util/util.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/util/util.c') diff --git a/src/util/util.c b/src/util/util.c index f715456d8..2b8c9d952 100644 --- a/src/util/util.c +++ b/src/util/util.c @@ -82,8 +82,6 @@ TALER_global_fee_set_hton (struct TALER_GlobalFeeSetNBOP *nbo, { TALER_amount_hton (&nbo->history, &fees->history); - TALER_amount_hton (&nbo->kyc, - &fees->kyc); TALER_amount_hton (&nbo->account, &fees->account); TALER_amount_hton (&nbo->purse, @@ -97,8 +95,6 @@ TALER_global_fee_set_ntoh (struct TALER_GlobalFeeSet *fees, { TALER_amount_ntoh (&fees->history, &nbo->history); - TALER_amount_ntoh (&fees->kyc, - &nbo->kyc); TALER_amount_ntoh (&fees->account, &nbo->account); TALER_amount_ntoh (&fees->purse, @@ -114,8 +110,6 @@ TALER_wire_fee_set_hton (struct TALER_WireFeeSetNBOP *nbo, &fees->wire); TALER_amount_hton (&nbo->closing, &fees->closing); - TALER_amount_hton (&nbo->wad, - &fees->wad); } @@ -127,8 +121,6 @@ TALER_wire_fee_set_ntoh (struct TALER_WireFeeSet *fees, &nbo->wire); TALER_amount_ntoh (&fees->closing, &nbo->closing); - TALER_amount_ntoh (&fees->wad, - &nbo->wad); } @@ -142,10 +134,6 @@ TALER_global_fee_set_cmp (const struct TALER_GlobalFeeSet *f1, &f2->history); if (0 != ret) return ret; - ret = TALER_amount_cmp (&f1->kyc, - &f2->kyc); - if (0 != ret) - return ret; ret = TALER_amount_cmp (&f1->account, &f2->account); if (0 != ret) @@ -172,10 +160,6 @@ TALER_wire_fee_set_cmp (const struct TALER_WireFeeSet *f1, &f2->closing); if (0 != ret) return ret; - ret = TALER_amount_cmp (&f1->wad, - &f2->wad); - if (0 != ret) - return ret; return 0; } -- cgit v1.2.3