ames: don't enqueue blobs sent to unknown comets

This commit is contained in:
lukechampine 2022-02-02 21:17:05 -05:00
parent c4bc9b3428
commit 1044d42a15

View File

@ -1757,6 +1757,8 @@
=/ ship-state (~(get by peers.ames-state) ship) =/ ship-state (~(get by peers.ames-state) ship)
:: ::
?. ?=([~ %known *] ship-state) ?. ?=([~ %known *] ship-state)
?: ?=(%pawn (clan:title ship))
(try-next-sponsor (^sein:title ship))
%+ enqueue-alien-todo ship %+ enqueue-alien-todo ship
|= todos=alien-agenda |= todos=alien-agenda
todos(packets (~(put in packets.todos) blob)) todos(packets (~(put in packets.todos) blob))