diff --git "a/doc/\320\277\321\200\320\265\320\267\320\265\320\275\321\202\320\260\321\206\320\270\321\217 \321\200\320\260\321\201\320\277\321\200\320\265\320\264\320\265\320\273\320\265\320\275\320\275\321\213\320\265 \320\262\321\213\321\207\320\270\321\201\320\273\320\265\320\275\320\270\321\217.pptx" "b/doc/\320\277\321\200\320\265\320\267\320\265\320\275\321\202\320\260\321\206\320\270\321\217 \321\200\320\260\321\201\320\277\321\200\320\265\320\264\320\265\320\273\320\265\320\275\320\275\321\213\320\265 \320\262\321\213\321\207\320\270\321\201\320\273\320\265\320\275\320\270\321\217.pptx" index f93919e..93dd2a4 100644 Binary files "a/doc/\320\277\321\200\320\265\320\267\320\265\320\275\321\202\320\260\321\206\320\270\321\217 \321\200\320\260\321\201\320\277\321\200\320\265\320\264\320\265\320\273\320\265\320\275\320\275\321\213\320\265 \320\262\321\213\321\207\320\270\321\201\320\273\320\265\320\275\320\270\321\217.pptx" and "b/doc/\320\277\321\200\320\265\320\267\320\265\320\275\321\202\320\260\321\206\320\270\321\217 \321\200\320\260\321\201\320\277\321\200\320\265\320\264\320\265\320\273\320\265\320\275\320\275\321\213\320\265 \320\262\321\213\321\207\320\270\321\201\320\273\320\265\320\275\320\270\321\217.pptx" differ diff --git a/src/blockchain.py b/src/blockchain.py index 96fe073..c3159e5 100644 --- a/src/blockchain.py +++ b/src/blockchain.py @@ -64,7 +64,7 @@ def handle_connection(client_socket, blockchain): data = json.loads(data) index = len(blockchain.chain) new_block = Block(index, time.time(), data, - blockchain.get_latest_block().hash) + blockchain.get_latest_block().hash) blockchain.add_block(new_block) client_socket.send("Block added successfully".encode()) client_socket.close()