[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-deployment] branch master updated: payto url for exc
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-deployment] branch master updated: payto url for exchange wireformat |
Date: |
Tue, 24 Apr 2018 16:20:16 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new 06a1869 payto url for exchange wireformat
06a1869 is described below
commit 06a1869ac7b26209a7b27896377aaf61f406ea39
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Apr 24 16:19:58 2018 +0200
payto url for exchange wireformat
---
config/generate-config | 8 +++++---
taler-build/update_twister.sh | 1 -
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/config/generate-config b/config/generate-config
index 7d01d25..3e23f55 100755
--- a/config/generate-config
+++ b/config/generate-config
@@ -4,6 +4,7 @@ import sys
from collections import OrderedDict
import json
import os
+import urllib.parse
sections = OrderedDict()
@@ -243,16 +244,17 @@ def exchange_wf(envname, wfname, acct_no, name,
standalone):
bank_url = "https://env.taler.net/{}/bank/".format(envname)
else:
bank_url = "https://bank.{}.taler.net/".format(envname)
+
+ bank_host = urllib.parse.urlparse(bank_url).netloc
data = OrderedDict(
name=name,
type=wfname,
bank_url=bank_url,
- account_number=acct_no
+ account_number=acct_no,
+ account_url="payto://x-taler-bank/{}/{}".format(bank_host, acct_no)
)
return (wfname, json.dumps(data, indent=2))
-
-
@click.command()
@click.option("--currency", default="KUDOS")
@click.option("--envname", default="demo")
diff --git a/taler-build/update_twister.sh b/taler-build/update_twister.sh
index 8d4f54c..1e37b33 100755
--- a/taler-build/update_twister.sh
+++ b/taler-build/update_twister.sh
@@ -20,5 +20,4 @@ git submodule update --init --force
--with-gnunet=$HOME/local \
--with-exchange=$HOME/local \
--enable-logging=verbose
-make
make install check
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-deployment] branch master updated: payto url for exchange wireformat,
gnunet <=