Spaces:
Sleeping
Sleeping
Update Blockchain.py
Browse files- Blockchain.py +1 -0
Blockchain.py
CHANGED
@@ -12,6 +12,7 @@ class Blockchain:
|
|
12 |
# Genesis 블록 생성
|
13 |
self.new_block(previous_hash="1")
|
14 |
|
|
|
15 |
def new_block(self, previous_hash=None):
|
16 |
"""
|
17 |
블록체인에 새로운 블록 추가
|
|
|
12 |
# Genesis 블록 생성
|
13 |
self.new_block(previous_hash="1")
|
14 |
|
15 |
+
|
16 |
def new_block(self, previous_hash=None):
|
17 |
"""
|
18 |
블록체인에 새로운 블록 추가
|