• Gregory Maxwell's avatar
    Sanitize assert usage and refuse to compile with NDEBUG. · b36e336a
    Gregory Maxwell authored
    There were quite a few places where assert() was used with side effects,
     making operation with NDEBUG non-functional.  This commit fixes all the
     cases I know about, but also adds an  #error on NDEBUG because the code
     is untested without assertions and may still have vulnerabilities if
     used without assert.
    b36e336a
wallet.cpp 66.1 KB