fix: windows target

This commit is contained in:
Cyrix126 2024-10-11 18:24:20 +02:00
parent 7b87940425
commit bcc80d0da7

View file

@ -414,7 +414,7 @@ impl PrivNodeApi {
.await? .await?
.json::<PrivNodeApi>() .json::<PrivNodeApi>()
.await?; .await?;
// #[cfg(target_os = "windows")] #[cfg(target_os = "windows")]
// api returns 0 for DB size for Windows so we read the size directly from the filesystem. // api returns 0 for DB size for Windows so we read the size directly from the filesystem.
// https://github.com/monero-project/monero/issues/9513 // https://github.com/monero-project/monero/issues/9513
{ {