diff --git a/include/llarp/path.hpp b/include/llarp/path.hpp index 5189b3f18..67c8c0975 100644 --- a/include/llarp/path.hpp +++ b/include/llarp/path.hpp @@ -111,7 +111,7 @@ namespace llarp auto& hop = ctx->path.hops[ctx->idx]; ctx->dh(hop.shared, hop.encryptionKey, hop.nonce, ctx->secretkey); ++ctx->idx; - if(ctx->idx < ctx.path.hops.size()) + if(ctx->idx < ctx->path.hops.size()) { llarp_threadpool_queue_job(ctx->worker, {ctx, &GenerateNextKey}); } @@ -294,4 +294,4 @@ namespace llarp }; } -#endif \ No newline at end of file +#endif