-
Inge-moneromooo: someone on tg was wondering if this was a bug - github.com/monero-project/monero/bl…ec02292/src/ringct/rctSigs.cpp#L966 - "Hey everybody, could any developer explain me what this does? it is a code in line 966 of file rctSigs.cpp.
-
Inge-It seems that there the function pointer of randXmrAmount, is getting casted to a size_t.
-
Inge-I am pretty familiar with C++ and i would say that this is a bug or at least UB, but maybe someone could help me here what the hell is going on there?"
-
Inge-"just using it without a call means it just casts the pointer to function to a size_t which should be undefined behaviour in c++"
-
moneromoooIt's old testing code.
-
moneromoooThat can be removed wholesale I think.
-
Inge-thanks