From 3779cca5a9aed7c0b86d366f4ce9a01c4bf14eab Mon Sep 17 00:00:00 2001 From: Ted Blackman Date: Wed, 27 Nov 2019 23:06:39 -0500 Subject: [PATCH] ames: try sponsors above .our --- pkg/arvo/sys/vane/ames.hoon | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkg/arvo/sys/vane/ames.hoon b/pkg/arvo/sys/vane/ames.hoon index fe232f9acf..47aa9d3cc0 100644 --- a/pkg/arvo/sys/vane/ames.hoon +++ b/pkg/arvo/sys/vane/ames.hoon @@ -1532,8 +1532,8 @@ (emit duct %pass /public-keys %j %public-keys [n=ship ~ ~]) :: +send-blob: fire packet at .ship and maybe sponsors :: - :: Send to .ship and sponsors until we find a direct lane or - :: encounter .our in the sponsorship chain. + :: Send to .ship and sponsors until we find a direct lane, + :: skipping .our in the sponsorship chain. :: :: If we have no PKI data for a recipient, enqueue the packet and :: request the information from Jael if we haven't already. @@ -1552,6 +1552,9 @@ :: =/ =peer-state +.u.ship-state :: + ?: =(our ship) + (try-next-sponsor sponsor.peer-state) + :: ?~ route=route.peer-state (try-next-sponsor sponsor.peer-state) :: @@ -1568,8 +1571,6 @@ :: ?: =(ship sponsor) event-core - ?: =(our sponsor) - event-core ^$(ship sponsor) -- :: +attestation-packet: generate signed self-attestation for .her