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; 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; 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;