diff --git a/tests/unit/scanner.test.cpp b/tests/unit/scanner.test.cpp index e06c9d7..5b1f6d0 100644 --- a/tests/unit/scanner.test.cpp +++ b/tests/unit/scanner.test.cpp @@ -49,6 +49,9 @@ namespace { constexpr const std::chrono::seconds message_timeout{3}; + unsigned char* to_bytes(crypto::ec_scalar &scalar) { return &reinterpret_cast(scalar); } + const unsigned char* to_bytes(const crypto::ec_scalar &scalar) { return &reinterpret_cast(scalar); } + template struct json_rpc_response {