From 4b8be294b2227bd1c57ea4be1887d019513dec27 Mon Sep 17 00:00:00 2001 From: Philip Monk Date: Sat, 5 Dec 2020 20:02:31 -0800 Subject: [PATCH] ames: don't crash on forward-lane scry --- pkg/arvo/sys/vane/ames.hoon | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkg/arvo/sys/vane/ames.hoon b/pkg/arvo/sys/vane/ames.hoon index b2e63e8e2..2a2baf854 100644 --- a/pkg/arvo/sys/vane/ames.hoon +++ b/pkg/arvo/sys/vane/ames.hoon @@ -984,10 +984,12 @@ [%peers @ *] =/ who (slaw %p i.t.tyl) ?~ who [~ ~] - ?~ peer=(~(get by peers.ames-state) u.who) - [~ ~] - ?+ t.t.tyl [~ ~] - ~ ``noun+!>(u.peer) + =/ peer (~(get by peers.ames-state) u.who) + ?+ t.t.tyl [~ ~] + ~ + ?~ peer + [~ ~] + ``noun+!>(u.peer) :: [%forward-lane ~] ::