mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-01 11:33:41 +03:00
Merge pull request #5545 from urbit/ames/alien-ignore
ames: ignore missing peer-state on-publ-sponsor
This commit is contained in:
commit
7cf5017897
@ -1593,10 +1593,12 @@
|
||||
?~ sponsor
|
||||
~| %ames-lost-sponsor^our^ship !!
|
||||
::
|
||||
=/ =peer-state (got-peer-state ship)
|
||||
=. sponsor.peer-state u.sponsor
|
||||
::
|
||||
=. peers.ames-state (~(put by peers.ames-state) ship %known peer-state)
|
||||
=/ state=(unit peer-state) (get-peer-state ship)
|
||||
?~ state
|
||||
%- (slog leaf+"ames: missing peer-state, ignoring" ~)
|
||||
event-core
|
||||
=. sponsor.u.state u.sponsor
|
||||
=. peers.ames-state (~(put by peers.ames-state) ship %known u.state)
|
||||
event-core
|
||||
:: +on-publ-full: handle new pki data for peer(s)
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user