summaryrefslogtreecommitdiff
path: root/buildbot
diff options
context:
space:
mode:
authorms <ms@taler.net>2021-07-02 17:41:56 +0200
committerms <ms@taler.net>2021-07-02 17:41:56 +0200
commit1f2adf1c0f60bc4faa3dcc90685e052aafaadad4 (patch)
tree35e0c5351f2e36cb0771e937126fb1f7ade9a3cd /buildbot
parentb45e6c6997e5a3db4b6b6778312a5c4c2c55c789 (diff)
downloaddeployment-1f2adf1c0f60bc4faa3dcc90685e052aafaadad4.tar.gz
deployment-1f2adf1c0f60bc4faa3dcc90685e052aafaadad4.tar.bz2
deployment-1f2adf1c0f60bc4faa3dcc90685e052aafaadad4.zip
remove debug
Diffstat (limited to 'buildbot')
-rwxr-xr-xbuildbot/check_tip_reserve.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/buildbot/check_tip_reserve.py b/buildbot/check_tip_reserve.py
index a43ae6c..8b70044 100755
--- 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