mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-10 10:05:09 +03:00
kiln: local aeon 0 check
This commit is contained in:
parent
32d97b8578
commit
ba353fbd36
@ -744,7 +744,11 @@
|
||||
?: =(our ship:ral)
|
||||
(need (read-kelvin-local our desk:ral now)) :: TODO error handling
|
||||
(read-kelvin-foreign [ship desk aeon]:ral)
|
||||
=? vats liv.rein.rak
|
||||
:: don't try to read from the local desk's bill file if
|
||||
:: there are no commits to the local desk (aeon 0)
|
||||
::
|
||||
=/ yon =<(ud .^(cass cw+/(scot %p our)/[loc]/(scot %da now)))
|
||||
=? vats &(liv.rein.rak !=(0 yon))
|
||||
%- stop-dudes
|
||||
=< idle
|
||||
(adjust-dudes [our loc now] rein.rak)
|
||||
|
Loading…
Reference in New Issue
Block a user