Fixed compile errors

This commit is contained in:
SChernykh
2025-10-20 15:06:56 +02:00
parent cb9fc89b22
commit f6353a6939
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -957,7 +957,7 @@ std::string to_onion_v3(const hash& pubkey)
static constexpr uint8_t version = 3;
hash h;
keccak_custom([&pubkey](int offset) {
keccak_custom([&pubkey](int offset) -> uint8_t {
size_t k = static_cast<size_t>(offset);
if (k < sizeof(prefix) - 1) {
return prefix[k];