From a5c6c134ee29c63373bf45eb59a01e1eba9e455b Mon Sep 17 00:00:00 2001 From: "C. Guy Yarvin" Date: Thu, 17 Apr 2014 09:37:22 -0700 Subject: [PATCH] clay-reset. --- arvo/clay.hoon | 4 +++- arvo/eyre.hoon | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/arvo/clay.hoon b/arvo/clay.hoon index dc44351ff..f9b4c9f28 100644 --- a/arvo/clay.hoon +++ b/arvo/clay.hoon @@ -477,7 +477,9 @@ ++ load |= new=vase ^- vane - ?. (~(nest ut -:!>(ruf)) & p.new) ~|(%load-type-fail !!) + ?. (~(nest ut -:!>(ruf)) & p.new) + ~& %clay-reset + ..^$ ..^$(ruf (raft q.new)) :: ++ raze diff --git a/arvo/eyre.hoon b/arvo/eyre.hoon index 4fc0777c1..a676f44f3 100644 --- a/arvo/eyre.hoon +++ b/arvo/eyre.hoon @@ -1358,12 +1358,12 @@ ~ :: ++ load - |= new=vase + |= old=vase ^- vane - ?. (~(nest ut -:!>(`bolo`+>-.^$)) | p.new) + ?. (~(nest ut -:!>(`bolo`+>-.^$)) | p.old) ~& %eyre-reset ..^$ - ..^$(+>- (bolo q.new)) + ..^$(+>- (bolo q.old)) :: ++ raze ^- vane