From 2eaa9596baba9a29838649edcba8cf7c0981b039 Mon Sep 17 00:00:00 2001 From: ducla Date: Thu, 7 Oct 2021 15:12:24 +0700 Subject: [PATCH] Fix no is_xhr --- blockchain.py | 1 + 1 file changed, 1 insertion(+) diff --git a/blockchain.py b/blockchain.py index 937d3521..778743ca 100644 --- a/blockchain.py +++ b/blockchain.py @@ -193,6 +193,7 @@ def valid_proof(last_proof, proof, last_hash): # Instantiate the Node app = Flask(__name__) +app.config['JSONIFY_PRETTYPRINT_REGULAR'] = False # Generate a globally unique address for this node node_identifier = str(uuid4()).replace('-', '')