Fix missing regtest option (#214)

This commit is contained in:
everoddandeven
2025-12-04 16:52:35 +01:00
committed by Lee *!* Clagett
parent b621d088b8
commit e8b889e95f

View File

@@ -1411,7 +1411,7 @@ namespace lws
if (!client) if (!client)
client = MONERO_UNWRAP(ctx.connect()); client = MONERO_UNWRAP(ctx.connect());
expect<rpc::client> synced = sync(std::move(client), opts.untrusted_daemon); expect<rpc::client> synced = sync(std::move(client), opts.untrusted_daemon, opts.regtest);
if (!synced) if (!synced)
{ {
if (!synced.matches(std::errc::timed_out)) if (!synced.matches(std::errc::timed_out))