mirror of
https://github.com/vtnerd/monero-lws.git
synced 2025-01-07 03:09:33 +00:00
Fix 'to_bytes' in unit tests
This commit is contained in:
parent
d9c9a75fc2
commit
69aa9613d7
1 changed files with 3 additions and 0 deletions
|
@ -49,6 +49,9 @@ namespace
|
||||||
{
|
{
|
||||||
constexpr const std::chrono::seconds message_timeout{3};
|
constexpr const std::chrono::seconds message_timeout{3};
|
||||||
|
|
||||||
|
unsigned char* to_bytes(crypto::ec_scalar &scalar) { return &reinterpret_cast<unsigned char&>(scalar); }
|
||||||
|
const unsigned char* to_bytes(const crypto::ec_scalar &scalar) { return &reinterpret_cast<const unsigned char&>(scalar); }
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
struct json_rpc_response
|
struct json_rpc_response
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue