From 53f6ab9f651248a11b990b3e8e01e7052d56c6d7 Mon Sep 17 00:00:00 2001 From: geard <53234590+geard-dev@users.noreply.github.com> Date: Mon, 3 May 2021 19:57:16 -0400 Subject: [PATCH 1/3] fix typo change "console.log" to "print" --- gymcoin/blockchain.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gymcoin/blockchain.py b/gymcoin/blockchain.py index 5feec37..d5f18f3 100644 --- a/gymcoin/blockchain.py +++ b/gymcoin/blockchain.py @@ -127,7 +127,7 @@ def isValidChain(self): if b2.prev != b1.hash: - console.log("error 5"); + print("error 5"); return False; return True; @@ -307,4 +307,4 @@ def signTransaction(self, key, senderKey): self.signature = "made"; #print(key.sign(self.hash, "")); print("made signature!"); - return True; \ No newline at end of file + return True; From 85488adda9db63e2f97287532d092e2b96b57fc2 Mon Sep 17 00:00:00 2001 From: geard <53234590+geard-dev@users.noreply.github.com> Date: Mon, 3 May 2021 19:58:25 -0400 Subject: [PATCH 2/3] fix typo change "console.log" to "print" --- gymcoin/blockchainOld.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gymcoin/blockchainOld.py b/gymcoin/blockchainOld.py index 44ddfee..867bdd8 100644 --- a/gymcoin/blockchainOld.py +++ b/gymcoin/blockchainOld.py @@ -79,7 +79,7 @@ def isValidChain(self): if b2.prev != b1.hash: - console.log("error 5"); + print("error 5"); return False; return True; From 9f14a1e47ec2cd514137b84b4b92fe28fb3eaf18 Mon Sep 17 00:00:00 2001 From: geard <53234590+geard-dev@users.noreply.github.com> Date: Mon, 3 May 2021 20:00:25 -0400 Subject: [PATCH 3/3] fix typo change "console.log" to "print" --- gymcoin/blockchainjsonpickle.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gymcoin/blockchainjsonpickle.py b/gymcoin/blockchainjsonpickle.py index 29f4099..defd8b0 100644 --- a/gymcoin/blockchainjsonpickle.py +++ b/gymcoin/blockchainjsonpickle.py @@ -131,7 +131,7 @@ def isValidChain(self): if b2.prev != b1.hash: - console.log("error 5"); + print("error 5"); return False; return True; @@ -264,4 +264,4 @@ def signTransaction(self, key): pkcs1_15.new(key); #print(key.sign(self.hash, "")); print("made signature!"); - return True; \ No newline at end of file + return True;