Skip to content

Commit c44d753

Browse files
Added init return
1 parent 6514a33 commit c44d753

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

blockchain/simple_blockchain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class Blockchain:
9090
chain (List[Block]): List of blocks forming the chain.
9191
"""
9292

93-
def __init__(self, difficulty: int = 2):
93+
def __init__(self, difficulty: int = 2) -> None:
9494
self.difficulty = difficulty
9595
self.chain: List[Block] = [self.create_genesis_block()]
9696

0 commit comments

Comments
 (0)