Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Issue #28 Pressing the button with no coins inserted leads to gen… #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Danstrg
Copy link

@Danstrg Danstrg commented Aug 9, 2020

…erating a QR-code

Line 74
old:
if config.conf["atm"]["activewallet"] == "btcpay_lnd":

changed into new:
if config.conf["atm"]["activewallet"] == "btcpay_lnd" and config.FIAT != 0:

AND

Line 87
old:
elif config.conf["atm"]["activewallet"] == "lntxbot":

changed into new:
elif config.conf["atm"]["activewallet"] == "lntxbot" and config.FIAT != 0:

Changes should prevent generating QR-codes without having inserted coins.

…ads to generating a QR-code

Line 74
old:
if config.conf["atm"]["activewallet"] == "btcpay_lnd":

changed into new:
if config.conf["atm"]["activewallet"] == "btcpay_lnd" and config.FIAT != 0:

AND

Line 87
old:
elif config.conf["atm"]["activewallet"] == "lntxbot":

changed into new:
elif config.conf["atm"]["activewallet"] == "lntxbot" and config.FIAT != 0:

Changes should prevent generating QR-codes without having inserted coins.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant