From 00c1fbc1859b3651bdfd4d17024a4d5146d32196 Mon Sep 17 00:00:00 2001 From: Joe Bryan Date: Fri, 2 Oct 2020 14:23:34 -0700 Subject: [PATCH] hoon: virtualize cue when parsing %blob coin literals --- pkg/arvo/sys/hoon.hoon | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkg/arvo/sys/hoon.hoon b/pkg/arvo/sys/hoon.hoon index 3a5508641..9fa186eba 100644 --- a/pkg/arvo/sys/hoon.hoon +++ b/pkg/arvo/sys/hoon.hoon @@ -6224,7 +6224,13 @@ ++ twid ~+ ;~ pose - (cook |=(a/@ [%blob (cue a)]) ;~(pfix (just '0') vum:ag)) + %+ stag %blob + %+ sear + :: XX use +mole once available + :: + |=(a=@ `(unit)`=/(b (mule |.((cue a))) ?-(-.b %| ~, %& `p.b))) + ;~(pfix (just '0') vum:ag) + :: (stag %$ crub) == ::