nano-node icon indicating copy to clipboard operation
nano-node copied to clipboard

Fix debug code that is built only in Release builds (instead of in Debug builds)

Open dsiganos opened this issue 1 year ago • 1 comments

In functions:

  • ledger_processor::receive_block
  • ledger_processor::open_block

the debug code is inside an ifdef NDEBUG block but it should be ifndef NDEBUG.

Also, scan the rest of the code for similar problems. They should be easy to spot.

Raising this as an issue because if I fix right now, we will get conflicts with ongoing PR merging. (https://github.com/nanocurrency/nano-node/pull/4460)

dsiganos avatar Mar 07 '24 17:03 dsiganos

This related build error slipped in https://github.com/nanocurrency/nano-node/pull/4487.

clemahieu avatar Mar 12 '24 19:03 clemahieu