Merge pull request #6682 from urbit/jb/rift-all

ames: reinitialize rift for all ranks, not just moons
This commit is contained in:
Joe Bryan 2023-06-22 11:49:43 -04:00 committed by GitHub
commit 28403eff52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2291,9 +2291,7 @@
::
=~ (emit duct %pass /turf %j %turf ~)
(emit duct %pass /private-keys %j %private-keys ~)
?: ?=(%earl (clan:title our))
(emit duct %pass /public-keys %j %public-keys [n=our ~ ~])
event-core
(emit duct %pass /public-keys %j %public-keys [n=our ~ ~])
==
:: +on-priv: set our private key to jael's response
::
@ -4867,7 +4865,7 @@
++ state-14-to-15
|= old=ames-state-14
^- ^ames-state
=? rift.old ?=(%earl (clan:title our))
=. rift.old
!< =rift
q:(need (need (rof ~ %j `beam`[[our %rift %da now] /(scot %p our)])))
old