taler-deployment

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

commit b45e6c6997e5a3db4b6b6778312a5c4c2c55c789
parent 34cf3bf3b5b84290cef415dab31045f5d83d63cd
Author: ms <ms@taler.net>
Date:   Fri,  2 Jul 2021 17:38:23 +0200

debug

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

diff --git a/buildbot/check_tip_reserve.py b/buildbot/check_tip_reserve.py @@ -44,16 +44,16 @@ 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: " + committed_amount) + print("Committed amount: " + str(committed_amount)) allocated_amount = Amount.parse(item.get("merchant_initial_amount")) - print("Allocated amount: " + allocated_amount) + print("Allocated amount: " + allocated_amount.stringify()) confirmed_amount = Amount.parse(item.get("exchange_initial_amount")) - print("Confirmed amount: " + confirmed_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) + print("Remaining amount: " + remaining_amount.stringify()) if remaining_amount > max_amount: max_amount = remaining_amount