mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-10 10:05:09 +03:00
gall: skip nonce in pre-nonce subs wires
This commit is contained in:
parent
d2fda7e920
commit
7166e4c7cf
@ -1850,11 +1850,14 @@
|
||||
%. $(moves t.moves)
|
||||
%^ trace odd.veb.bug.state
|
||||
leaf/"gall: {<agent-name>} missing subscription, got %leave" ~
|
||||
=/ have=[nonce=@ acked=? =path]
|
||||
:- (~(got by beat.watches.yoke) sub-wire dock)
|
||||
(~(got by boat.watches.yoke) sub-wire dock)
|
||||
=/ nonce=@ (~(got by beat.watches.yoke) sub-wire dock)
|
||||
=. p.move.move
|
||||
(weld sys-wire [(scot %ud nonce.have) sub-wire])
|
||||
%+ weld sys-wire
|
||||
?: =(nonce 0)
|
||||
:: skip adding nonce to pre-nonce subscription wires
|
||||
::
|
||||
sub-wire
|
||||
[(scot %ud nonce) sub-wire]
|
||||
=: boat.watches.yoke (~(del by boat.watches.yoke) [sub-wire dock])
|
||||
beat.watches.yoke (~(del by beat.watches.yoke) [sub-wire dock])
|
||||
==
|
||||
|
Loading…
Reference in New Issue
Block a user