Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
voronov-nikita committed Apr 19, 2024
1 parent fb139a8 commit 5c0ef53
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file not shown.
2 changes: 1 addition & 1 deletion src/blockchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 5c0ef53

Please sign in to comment.