From 0d079b537ca04e97b42e9e1de0c650414802dd00 Mon Sep 17 00:00:00 2001
From: pkova <pyry.kovanen@gmail.com>
Date: Mon, 9 Mar 2020 17:40:51 +0200
Subject: [PATCH] hoon: fix ket not working past tistar

---
 bin/solid.pill         | 4 ++--
 pkg/arvo/sys/hoon.hoon | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/bin/solid.pill b/bin/solid.pill
index 10c26760b..dcdea1ceb 100644
--- a/bin/solid.pill
+++ b/bin/solid.pill
@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:c15aaa6db3e320d075772dd9e2feac03c4343afa16a7717d68bda0098700a678
-size 12899519
+oid sha256:2431d828686d4e971f797f22b0475b23b7328c6143e637678407485a139d7450
+size 12922832
diff --git a/pkg/arvo/sys/hoon.hoon b/pkg/arvo/sys/hoon.hoon
index a202c5b77..1c7a57476 100644
--- a/pkg/arvo/sys/hoon.hoon
+++ b/pkg/arvo/sys/hoon.hoon
@@ -9865,6 +9865,8 @@
                   next
                 ?~  u.tyr
                   $(sut q.sut, lon [~ lon], p.heg +(p.heg))
+                ?.  =(0 p.heg)
+                  next(p.heg (dec p.heg))
                 =+  tor=(fund way u.u.tyr)
                 ?-  -.tor
                   %&  [%& (weld p.p.tor `vein`[~ `axe lon]) q.p.tor]