Skip to content

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

test(wallet): add request id to approval context fixture

Steven Enamakel4abe34aa75e0
diff --git a/crates/openhuman-core/src/modules/wallet_host_tests.rs b/crates/openhuman-core/src/modules/wallet_host_tests.rs
index 0fa3d01b21..128e4f5fad 100644
--- a/crates/openhuman-core/src/modules/wallet_host_tests.rs
+++ b/crates/openhuman-core/src/modules/wallet_host_tests.rs
@@ -26,6 +26,7 @@ fn x402_approval_is_bound_to_the_exact_chat_owner_and_payment_facts() {
let context = crate::security::approval::ApprovalChatContext {
thread_id: "thread-1".into(),
client_id: "client-1".into(),
+ request_id: Some("request-1".into()),
};
assert!(x402_request_owner_matches(&request, &context));