Omnibus commited on
Commit
94a8286
·
1 Parent(s): 4daad84

Update blockchain.py

Browse files
Files changed (1) hide show
  1. blockchain.py +1 -0
blockchain.py CHANGED
@@ -66,6 +66,7 @@ class Blockchain:
66
  def print_previous_block(self):
67
  return self.chain[-1]
68
  def new_transaction(self, block):
 
69
  trans_data = {
70
  'name': block['transactions'][0]['sender'],
71
  'index': block['index'],
 
66
  def print_previous_block(self):
67
  return self.chain[-1]
68
  def new_transaction(self, block):
69
+ print (f'block::{block}')
70
  trans_data = {
71
  'name': block['transactions'][0]['sender'],
72
  'index': block['index'],