mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-27 07:26:51 +00:00
accept.apply was a plain SpanGuard, so it never became the ambient span of doAccept. The spans the function goes on to create inherited the activated accept span instead and came out as accept.apply's siblings, while running inside its own time window. Every guard was scoped before the SpanGuard split, so this restores the hierarchy that design had. Scoped now, so the hierarchy follows the call flow. Drops the parent-context fallback arm with it: the accept context is captured only while the accept span is live, and that span is a child of the round context, so an invalid accept context implies an invalid round context and both arms returned an empty guard.