mirror of
https://github.com/Steffo99/greed.git
synced 2025-03-13 12:17:27 +00:00
fix issue in callbacks
This commit is contained in:
parent
e9cc51f853
commit
20740661c4
1 changed files with 1 additions and 1 deletions
2
core.py
2
core.py
|
@ -124,7 +124,7 @@ def main():
|
|||
app = flask.Flask(__name__)
|
||||
@app.route('/callback', methods=['GET'])
|
||||
def callback():
|
||||
network_confirmations = configloader.config["Bitcoin"]["network_confirmations"]
|
||||
network_confirmations = int(configloader.config["Bitcoin"]["network_confirmations"])
|
||||
# Fetch the callback parameters
|
||||
secret = flask.request.args.get("secret")
|
||||
status = int(flask.request.args.get("status"))
|
||||
|
|
Loading…
Add table
Reference in a new issue