cothority
cothority copied to clipboard
darc.GetDarc doesn't allow for error
Currently, errors are signaled by logging then returning nil
, the latter being also used to return a potential match. Either, drop the log.Error
inside darc.GetDarc
implementation or allow it to return an error
.
Can we use another label than Bug
here? I'd like to keep Bug
for stuff that actually breaks running OmniLedger. So this would be more like enhancement
or code quality
. What do you think?