Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

refactor(network): collapse function signature onto one line

Steven Enamakel9166ad450952
diff --git a/crates/openhuman-core/src/tools/impl/network/host.rs b/crates/openhuman-core/src/tools/impl/network/host.rs
index 23fc0ae78f..21c5bb3b59 100644
--- a/crates/openhuman-core/src/tools/impl/network/host.rs
+++ b/crates/openhuman-core/src/tools/impl/network/host.rs
@@ -152,9 +152,7 @@ mod x402 {
/// `Err("COMPONENT_DISABLED:wallet")` when `[components] wallet` is off:
/// the hook declines before any quote, signing or module load. The 402
/// response then surfaces to the caller unpaid.
- pub(super) fn declined_when_wallet_off(
- config: &crate::config::Config,
- ) -> Result<(), String> {
+ pub(super) fn declined_when_wallet_off(config: &crate::config::Config) -> Result<(), String> {
if config.components.wallet {
return Ok(());
}