dm-hook: fix updating pendings

This commit is contained in:
Liam Fitzgerald 2021-06-16 12:46:47 +10:00
parent 5d55b1ee7b
commit 2d2764fa53
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB

View File

@ -189,7 +189,9 @@
?> =(1 ~(wyt by nodes))
=/ ship-screen (~(get ju screened) src.bowl)
=. ship-screen (~(uni in ship-screen) (normalize-incoming nodes))
`state(screened (~(put by screened) src.bowl ship-screen))
=. screened (~(put by screened) src.bowl ship-screen)
:_ state
(fact:io dm-hook-action+!>([%pendings ~(key by screened)]) ~[/updates])^~
::
++ dm-exists
|= =ship