Update Blockchain.py

#4
by Lanvizu - opened
Files changed (1) hide show
  1. 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
  ๋ธ”๋ก์ฒด์ธ์— ์ƒˆ๋กœ์šด ๋ธ”๋ก ์ถ”๊ฐ€