summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Dobrowolski <admin@tastycode.pl>2017-04-21 18:04:06 +0200
committerPiotr Dobrowolski <admin@tastycode.pl>2017-04-21 18:04:06 +0200
commit30a705a9a314194ed38509ae7f96cd0cea68fde4 (patch)
tree3f52537e9de3079dbeeed3b10a3d4e5831b1df99
parent41e652776d16e6cb0067e77464a913e1cf71d9be (diff)
downloadbitvend-30a705a9a314194ed38509ae7f96cd0cea68fde4.tar.gz
bitvend-30a705a9a314194ed38509ae7f96cd0cea68fde4.tar.bz2
bitvend-30a705a9a314194ed38509ae7f96cd0cea68fde4.tar.xz
bitvend-30a705a9a314194ed38509ae7f96cd0cea68fde4.zip
mdb: Increase cashless purchase counter only when we have tx idv2
-rw-r--r--bitvend/mdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitvend/mdb.py b/bitvend/mdb.py
index c261a11..f44da87 100644
--- a/bitvend/mdb.py
+++ b/bitvend/mdb.py
@@ -40,7 +40,7 @@ class BitvendCashlessMDBDevice(CashlessMDBDevice):
self.current_tx_id = None
- cashless_purchase_counter.inc()
+ cashless_purchase_counter.inc()
return True