🚚 renamed GetLog to GetLogs

This commit is contained in:
EntireTwix 2021-07-09 16:42:16 -07:00
parent c7e2794e56
commit 50a4e49452
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ public:
std::vector<Transaction> data; std::vector<Transaction> data;
#endif #endif
const std::string &GetLog() noexcept; const std::string &GetLogs() noexcept;
void AddTrans(Transaction &&t) noexcept; void AddTrans(Transaction &&t) noexcept;
Json::Value Serialize() const; // to be removed later Json::Value Serialize() const; // to be removed later
}; };

View file

@ -19,7 +19,7 @@ void Log::AddTrans(Transaction &&t) noexcept
#endif #endif
} }
const std::string &Log::GetLog() noexcept const std::string &Log::GetLogs() noexcept
{ {
if (log_flag.GetChangeState()) //if there are changes if (log_flag.GetChangeState()) //if there are changes
{ {