hoon: restrict trap subject in +swat

This commit is contained in:
Joe Bryan 2020-12-07 23:48:22 -08:00
parent c44d739bcf
commit 563c2d4c06
2 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,7 @@
|= [tap=(trap vase) gen=hoon]
^- (trap vase)
=/ gun (~(mint ut p:$:tap) %noun gen)
=> [tap=tap gun=gun]
|. ~+
=/ pro q:$:tap
[[%cell p.gun p:$:tap] [.*(pro q.gun) pro]]

View File

@ -11532,6 +11532,7 @@
|= [tap=(trap vase) gen=hoon]
^- (trap vase)
=/ gun (~(mint ut p:$:tap) %noun gen)
=> [tap=tap gun=gun]
|. ~+
[p.gun .*(q:$:tap q.gun)]
::