mirror of
https://github.com/Expand-sys/CCash
synced 2026-03-22 20:47:10 +11:00
🐛 fixed MIN_API_SUPPORT commit
This commit is contained in:
parent
0b7de8b905
commit
a49a1730f7
1 changed files with 8 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue