mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
🐛 fixed last commit
This commit is contained in:
parent
4a0b7cafa6
commit
efec7d0da9
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ struct Log
|
|||
uint32_t end = 0;
|
||||
void AddTrans(Transaction &&v)
|
||||
{
|
||||
if (data.size() <= end+1 && end+1 <= max_log_size) //if memory reserved is full
|
||||
if (data.size() <= end+1 && end+1 < max_log_size) //if memory reserved is full
|
||||
{
|
||||
data.resize(data.size() + pre_log_size); //prefetching memory
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue