taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 89f6b08232ba28c1f4883a7e5b615f20134a96ae
parent fcf08ce9e3f2d8a97b7f2c21959b8fe54f9388f8
Author: ms <ms@taler.net>
Date:   Fri,  2 Jul 2021 17:28:41 +0200

debug

Diffstat:
Mbuildbot/check_tip_reserve.py | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/buildbot/check_tip_reserve.py b/buildbot/check_tip_reserve.py @@ -44,12 +44,16 @@ if len(reserves) == 0: max_amount = Amount(TALER_CONFIG_CURRENCY, 0, 0) for item in reserves[1:]: committed_amount = Amount.parse(item.get("committed_amount")) + print("Committed amount: " + committed_amount) allocated_amount = Amount.parse(item.get("merchant_initial_amount")) + print("Allocated amount: " + allocated_amount) confirmed_amount = Amount.parse(item.get("exchange_initial_amount")) + print("Confirmed amount: " + confirmed_amount) 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) if remaining_amount > max_amount: max_amount = remaining_amount