mirror of
https://github.com/urbit/shrub.git
synced 2024-12-14 11:08:45 +03:00
Fix hull diff generation and application.
This commit is contained in:
parent
b10b27e0a7
commit
e5aec54571
@ -17,10 +17,12 @@
|
||||
?: =(event.log activated)
|
||||
=+ ^- [who=@ wer=address]
|
||||
(decode-results data.log ~[%uint %address])
|
||||
:~ ^- (pair ship diff-hull)
|
||||
:* ^- (pair ship diff-hull)
|
||||
:+ who %full
|
||||
%*(. *hull owner wer, sponsor (sein:title who))
|
||||
::
|
||||
?: =(%czar (clan:title who)) ~
|
||||
:_ ~
|
||||
^- (pair ship diff-hull)
|
||||
[(sein:title who) %spawned who]
|
||||
==
|
||||
@ -69,7 +71,11 @@
|
||||
%owner hul(owner new.dif)
|
||||
%spawned =+ (~(put in spawned.hul) who.dif)
|
||||
hul(spawn-count +(spawn-count.hul), spawned -)
|
||||
%keys hul(encryption-key enc.dif, authentication-key aut.dif)
|
||||
%keys %_ hul
|
||||
encryption-key enc.dif
|
||||
authentication-key aut.dif
|
||||
key-revision rev.dif
|
||||
==
|
||||
%sponsor hul(sponsor new.dif, escape ~)
|
||||
%escape hul(escape new.dif)
|
||||
%spawn-proxy hul(spawn-proxy new.dif)
|
||||
|
Loading…
Reference in New Issue
Block a user