pull/1/head
Ryan Tharp 6 years ago
parent 7cd13b3f89
commit 54ab2833be

@ -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
#endif

Loading…
Cancel
Save