diff --git a/.env.template b/.env.template index 242165c..b63a62c 100755 --- a/.env.template +++ b/.env.template @@ -1,10 +1,11 @@ # Chemin de la clé privé Ḡ1 de l'émetteur, au format PubSec -DUNIKEY= +# ex. DUNIKEY="/path/myprivateG1key.dunikey" +DUNIKEY="" # Noeud Duniter DUNITER="https://g1.asycn.io" -#DUNITER="https://g1.librelois.fr" -#DUNITER="http://g1.duniter.org" +#DUNITER="https://duniter.pini.fr" +#DUNITER="https://g1v1.p2p.legal" # Adresse du pod Cesium ou Gchange à utiliser ESNODE="https://g1.data.e-is.pro" diff --git a/.gitignore b/.gitignore index 5a2385c..47bc05a 100755 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ .env -__pycache__ - *.dunikey not4U .vscode/settings.json +__pycache__ diff --git a/lib/gvaHistory.py b/lib/gvaHistory.py index 39563a7..c1d2525 100755 --- a/lib/gvaHistory.py +++ b/lib/gvaHistory.py @@ -257,6 +257,7 @@ class History: for i, trans in enumerate(transList): dailyJSON.append(i) dailyJSON[i] = {} + dailyJSON[i]['status'] = trans[0].upper() dailyJSON[i]['date'] = trans[1] dailyJSON[i]['pubkey'] = trans[2] dailyJSON[i]['amount'] = trans[3]