commit 1f2adf1c0f60bc4faa3dcc90685e052aafaadad4
parent b45e6c6997e5a3db4b6b6778312a5c4c2c55c789
Author: ms <ms@taler.net>
Date: Fri, 2 Jul 2021 17:41:56 +0200
remove debug
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/buildbot/check_tip_reserve.py b/buildbot/check_tip_reserve.py
@@ -44,16 +44,11 @@ if len(reserves) == 0:
max_amount = Amount(TALER_CONFIG_CURRENCY, 0, 0)
for item in reserves:
committed_amount = Amount.parse(item.get("committed_amount"))
- print("Committed amount: " + str(committed_amount))
allocated_amount = Amount.parse(item.get("merchant_initial_amount"))
- print("Allocated amount: " + allocated_amount.stringify())
confirmed_amount = Amount.parse(item.get("exchange_initial_amount"))
- print("Confirmed amount: " + confirmed_amount.stringify())
if allocated_amount != confirmed_amount:
- print("The exchange never confirmed the tip reserve amount!")
exit(1)
remaining_amount = allocated_amount - committed_amount
- print("Remaining amount: " + remaining_amount.stringify())
if remaining_amount > max_amount:
max_amount = remaining_amount