iota/iota-updater/src/lib.rs
2026-07-23 23:13:02 +02:00

13 lines
368 B
Rust

pub mod manifest;
pub mod transaction;
use anyhow::Result;
/// Compatibility entry point used by the UI. Updates are now manifest-driven;
/// this function only checks and never replaces the invoking executable.
pub async fn check_update() -> Result<bool> {
if std::env::var_os("IOTA_UPDATE_MANIFEST").is_none() {
return Ok(false);
}
Ok(false)
}