🐛 fixed MIN_API_SUPPORT commit

This commit is contained in:
EntireTwix 2022-12-04 00:17:11 -08:00
parent 0b7de8b905
commit a49a1730f7

View file

@ -2,7 +2,15 @@
void Log::AddTrans(const std::string &counterparty_str, bool receiving, uint32_t amount, time_t time) noexcept
{
#if MIN_API_SUPPORT == 1
log_flag.SetChangesOn();
#endif
#if (API_VERSION >= 2) && (MIN_API_SUPPORT <= 2)
log_flag_v2.SetChangesOn();
#endif
if (data.size() == MAX_LOG_SIZE)
{
data.pop_back();