Add basic REST tests and fix a few bugs (#103)

This commit is contained in:
Lee *!* Clagett
2024-04-06 16:04:53 -04:00
committed by Lee *!* Clagett
parent f785cad557
commit fe9d861dfb
7 changed files with 633 additions and 66 deletions

View File

@@ -544,7 +544,7 @@ namespace lws
MONERO_CHECK((*tclient)->send(std::move(msg), std::chrono::seconds{10}));
}
if ((req.use_dust && req.use_dust) || !req.dust_threshold)
if ((req.use_dust && *req.use_dust) || !req.dust_threshold)
req.dust_threshold = rpc::safe_uint64(0);
if (!req.mixin)