diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-12-07 07:38:39 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-12-07 07:39:20 +0100 |
commit | 11d307b4f90eea48ef93128db3e9c18bbd830a76 (patch) | |
tree | 25c461ec1b459ca57ff7681db07fe0546da50a6e /bin | |
parent | 4fbc4e6bdd35585e0cac94bedfdc0f0dcd1e2c99 (diff) | |
download | deployment-11d307b4f90eea48ef93128db3e9c18bbd830a76.tar.gz deployment-11d307b4f90eea48ef93128db3e9c18bbd830a76.tar.bz2 deployment-11d307b4f90eea48ef93128db3e9c18bbd830a76.zip |
untested changes to deployment in the wake of #5188 -- please check
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/taler-deployment-top-reserve | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/taler-deployment-top-reserve b/bin/taler-deployment-top-reserve index 0f28178..cfc0056 100755 --- a/bin/taler-deployment-top-reserve +++ b/bin/taler-deployment-top-reserve @@ -8,9 +8,16 @@ fi # %N is current nanoseconds. UUID=$(date +"uuid-%N") +# Obtain reserve public key from file +RESERVE=`gnunet-ecc -P ${TALER_DEPLOYMENT_SHARED}/merchant/default.priv` + +# Tell the exchange about the 'incoming' wire transfer +# (TODO: shouldn't we rather tell the *bank* (bank/admin/add/incoming) +# to execute the wire transfer, and have the bank tell the exchange? +# This ought to cause the wire auditor to fail!) taler-exchange-reservemod \ --add="$TALER_CONFIG_CURRENCY:100.0" \ - --reserve=S98FEXHW3VJ93EA73CRAQ5E8E4DJE96Z9JXYFHFD169FWS9NS8A0 \ + --reserve=$RESERVE \ --sender='{"bank_uri":"https://bank.$TALER_ENV_NAME.taler.net/","account_number":7,"type":"test"}' \ --transfer="{\"uuid\":\"$UUID\"}" |