rescrv/libmacaroons

Change usage of ``assert``

Opened this issue · 0 comments

The assert macro is used to check certain conditions, including that the calling application is behaving as intended by passing in proper input. Any application-triggerable assert calls should be turned into failures that return the error.