Closed bashbashbash closed 5 years ago
Package context: internal/block Branch: none
internal/block
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)
In what instance would it cause an error?
Completed
Package context:
internal/block
Branch: noneCurrently, 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)