mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-16 16:12:14 +11:00
api_version related changes
This commit is contained in:
parent
244ca2561c
commit
cf4ba5ccfa
2 changed files with 4 additions and 0 deletions
|
|
@ -98,6 +98,7 @@ BankResponse Bank::GetLogs(const std::string &name) noexcept
|
|||
return res;
|
||||
}
|
||||
}
|
||||
#if API_VERSION >= 2
|
||||
BankResponse Bank::GetLogsV2(const std::string &name) noexcept
|
||||
{
|
||||
BankResponse res;
|
||||
|
|
@ -111,6 +112,7 @@ BankResponse Bank::GetLogsV2(const std::string &name) noexcept
|
|||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
BankResponse Bank::SendFunds(const std::string &a_name, const std::string &b_name, uint32_t amount) noexcept
|
||||
{
|
||||
if (!amount)
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ void api::GetLogs(req_args)
|
|||
callback(resp);
|
||||
#endif
|
||||
}
|
||||
#if API_VERSION >= 2
|
||||
void api::GetLogsV2(req_args)
|
||||
{
|
||||
#if MAX_LOG_SIZE > 0
|
||||
|
|
@ -51,6 +52,7 @@ void api::GetLogsV2(req_args)
|
|||
callback(resp);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
void api::SendFunds(req_args)
|
||||
{
|
||||
SIMD_JSON_GEN;
|
||||
|
|
|
|||
Loading…
Reference in a new issue