Open iceslim0 opened 4 years ago
I am unsure what exactly this line is trying to do, and it won't run.
blen@phxqv:~/dev-blen/chaindev> python blockchain.py File "blockchain.py", line 62 content = f'{index}{hash_of_previous_block}{transactions}{nonce}'.encode() ^ SyntaxError: invalid syntax blen@phxqv:~/dev-blen/chaindev>
Had the same error. Used Python 3.6 and it worked for me.
works with python3.8
I am unsure what exactly this line is trying to do, and it won't run.
blen@phxqv:~/dev-blen/chaindev> python blockchain.py File "blockchain.py", line 62 content = f'{index}{hash_of_previous_block}{transactions}{nonce}'.encode()
^ SyntaxError: invalid syntax blen@phxqv:~/dev-blen/chaindev>