Closed skyrawrcode closed 3 years ago
Sorry for the delay I will look shortly and merge
On Fri, May 28, 2021, 11:17 PM Shawn M. @.***> wrote:
Merged #33 https://github.com/ldoge/LDOGE/pull/33 into master.
— You are receiving this because your review was requested. Reply to this email directly, view it on GitHub https://github.com/ldoge/LDOGE/pull/33#event-4815562105, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJKNCDJGZLG3GS7W3TVAKHLTQBTFLANCNFSM45XUF62Q .
assert is not supposed to be used with code that has side effects. Some compilers when in release mode replace assert with void(0) which is a no-operation. This can cause lost funds when a change address is generated and not saved because the assert method removed the save.