summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-11-19 19:57:08 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-11-19 19:57:45 +0100
commit1ec40cdf0514e9d7b068b53c26100df0bba3c591 (patch)
tree4f5a68659c11a5bfe4bf7cb33089d4ef4b6c45a3
parent07ea1b0726cc9239b4612c3c5a35d54a3105b63f (diff)
downloaddeployment-1ec40cdf0514e9d7b068b53c26100df0bba3c591.tar.gz
deployment-1ec40cdf0514e9d7b068b53c26100df0bba3c591.tar.bz2
deployment-1ec40cdf0514e9d7b068b53c26100df0bba3c591.zip
fix confgen
-rwxr-xr-xconfig/generate-config8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/generate-config b/config/generate-config
index 9c8916f..9c0198d 100755
--- a/config/generate-config
+++ b/config/generate-config
@@ -31,14 +31,14 @@ def coin(currency,
f_refund="0.10",
rsa_keysize="2048"):
sec = "coin_"+currency+"_"+name
- cfg_put(sec, "value", ""+currency+":"+value)
+ cfg_put(sec, "value", currency+":"+value)
cfg_put(sec, "duration_overlap", d_overlap)
cfg_put(sec, "duration_withdraw", d_withdraw)
cfg_put(sec, "duration_spend", d_spend)
cfg_put(sec, "duration_legal", d_legal)
- cfg_put(sec, "fee_withdraw", f_withdraw)
- cfg_put(sec, "fee_refresh", f_refresh)
- cfg_put(sec, "fee_refund", f_refund)
+ cfg_put(sec, "fee_withdraw", currency+":"+f_withdraw)
+ cfg_put(sec, "fee_refresh", currency+":"+f_refresh)
+ cfg_put(sec, "fee_refund", currency+":"+f_refund)
cfg_put(sec, "rsa_keysize", rsa_keysize)
def config(currency, envname, exchange_pub):