SIGBlockchain / project_aurum

SIG Blockchain blockchain project in Go
https://acm.cs.uic.edu/sigblockchain
MIT License
7 stars 0 forks source link

Fix block.Marshal #409

Closed bashbashbash closed 5 years ago

bashbashbash commented 5 years ago

Package context: internal/block Branch: none

Currently, block.Marshal returns a JSONBlock and an error. The error is always nil, so either have the function return just the JSONBlock or incorporate an error check into the function (if possible)

kastolars commented 5 years ago

In what instance would it cause an error?

HarryL5004 commented 5 years ago

Completed