This is a short PR to add the operator overloads to the allocation class to avoid having to do static casting after arithmetic operations involving allocations. It also cleans up wallet_tests.cpp and removes the rest of the double usage as a second try to eliminate the test errors encountered with the GCC 13 compiler with OpenSUSE and x86 32 bit.
This is a short PR to add the operator overloads to the allocation class to avoid having to do static casting after arithmetic operations involving allocations. It also cleans up wallet_tests.cpp and removes the rest of the double usage as a second try to eliminate the test errors encountered with the GCC 13 compiler with OpenSUSE and x86 32 bit.
Possibly closes #2691.