[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: constrain value of denomination
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: constrain value of denomination to revoke |
Date: |
Fri, 27 Mar 2020 20:20:29 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 2c171055 constrain value of denomination to revoke
2c171055 is described below
commit 2c171055f9b51ff7254a4b57e27a6174484d03e3
Author: Florian Dold <address@hidden>
AuthorDate: Sat Mar 28 00:50:11 2020 +0530
constrain value of denomination to revoke
---
src/auditor/generate-revoke-basedb.sh | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/auditor/generate-revoke-basedb.sh
b/src/auditor/generate-revoke-basedb.sh
index ba2d1523..2a24ad5f 100755
--- a/src/auditor/generate-revoke-basedb.sh
+++ b/src/auditor/generate-revoke-basedb.sh
@@ -226,10 +226,14 @@ taler-wallet-cli $TIMETRAVEL --wallet-db=$WALLET_DB
run-until-done
export coins=$(taler-wallet-cli $TIMETRAVEL --wallet-db=$WALLET_DB advanced
dump-coins)
# Find resulting refreshed coin
-export freshc=$(echo "$coins" | jq -r --arg rrc "$rrc" '[.coins[] |
select((.refresh_parent_coin_pub == $rrc))][0] | .coin_pub')
+export freshc=$(echo "$coins" | jq -r --arg rrc "$rrc" \
+ '[.coins[] | select((.refresh_parent_coin_pub == $rrc) and .denom_value ==
"TESTKUDOS:0.1")][0] | .coin_pub'
+)
# Find the denom of freshc
-export fresh_denom=$(echo "$coins" | jq -r --arg rrc "$rrc" '[.coins[] |
select((.refresh_parent_coin_pub == $rrc))][0] | .denom_pub_hash')
+export fresh_denom=$(echo "$coins" | jq -r --arg rrc "$rrc" \
+ '[.coins[] | select((.refresh_parent_coin_pub == $rrc) and .denom_value ==
"TESTKUDOS:0.1")][0] | .denom_pub_hash'
+)
echo "Coin ${freshc} of denomination ${fresh_denom} is the result of the
refresh"
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: constrain value of denomination to revoke,
gnunet <=