Skip to content

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

test: keep budget precheck on HTTPS destination

Steven Enamakel18ba0650015e
diff --git a/crates/openhuman-core/src/web3/x402/seams_tests.rs b/crates/openhuman-core/src/web3/x402/seams_tests.rs
index 461f14db7a..1044fd896b 100644
--- a/crates/openhuman-core/src/web3/x402/seams_tests.rs
+++ b/crates/openhuman-core/src/web3/x402/seams_tests.rs
@@ -259,7 +259,7 @@ async fn x402_rejected_destinations_do_not_exhaust_the_action_budget() {
Err(RequestAuthorizationError::Denied(reason)) if reason.contains("rate limit")
));
assert!(matches!(
- guard.authorize(&proposed_request("http://127.0.0.1/"))
+ guard.authorize(&proposed_request("https://127.0.0.1/"))
.await,
Err(RequestAuthorizationError::Denied(reason)) if reason.contains("rate limit")
));