mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-18 17:12:14 +11:00
🐛⚡ MAX_LOG_SIZE == 1 wasnt updated
This commit is contained in:
parent
4a56d57314
commit
6c99d32a64
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ void Log::AddTrans(const std::string &from, const std::string &to, uint32_t amou
|
||||||
{
|
{
|
||||||
log_flag.SetChangesOn();
|
log_flag.SetChangesOn();
|
||||||
#if MAX_LOG_SIZE == 1
|
#if MAX_LOG_SIZE == 1
|
||||||
data = t;
|
data = std::move(Transaction(from, to, amount, time));
|
||||||
#else
|
#else
|
||||||
if (data.size() == MAX_LOG_SIZE) // If we hit the max size
|
if (data.size() == MAX_LOG_SIZE) // If we hit the max size
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue