From e0d2db6e5d43dbba4917ee7232f215e50773087c Mon Sep 17 00:00:00 2001 From: Yair Eshel Cahansky Date: Thu, 5 Nov 2020 21:29:07 +0200 Subject: [PATCH] Prevent AttributeError on docker instance --- 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('-', '')