mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-24 10:33:22 +03:00
kiln: produce one base-hash via scry
This commit is contained in:
parent
036b4546fc
commit
28010d3599
@ -109,10 +109,12 @@
|
||||
++ on-peek
|
||||
|= =path
|
||||
^- (unit (unit cage))
|
||||
?+ path [~ ~]
|
||||
[%x %kiln %ota ~] ``noun+!>(ota)
|
||||
[%x %kiln %our ~] ``noun+!>(our)
|
||||
[%x %kiln %base-hash ~] ``noun+!>((base-hash:version our now))
|
||||
?+ path [~ ~]
|
||||
[%x %kiln %ota ~] ``noun+!>(ota)
|
||||
[%x %kiln %our ~] ``noun+!>(our)
|
||||
[%x %kiln %base-hash ~]
|
||||
=/ ver (base-hash:version our now)
|
||||
``noun+!>(?~(ver 0v0 i.ver))
|
||||
==
|
||||
::
|
||||
++ poke-commit
|
||||
|
Loading…
Reference in New Issue
Block a user