Merge pull request #6998 from urbit/yu/fix-pending-vane-ack

ames: assume ok when handling next pending-vane-ack
This commit is contained in:
Pyry Kovanen 2024-05-24 18:47:48 +03:00 committed by GitHub
commit 232625b6ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4854,7 +4854,10 @@
=. peer-core
(send-shut-packet bone message-num %| %| ok lag=`@dr`0)
?~ next=~(top to pending-vane-ack.state) sink
(handle-sink message-num.u.next message.u.next ok)
:: u.next has not been sent to the vane so we assume ok=%.y;
:: +done will be called again in the case of error
::
(handle-sink message-num.u.next message.u.next ok=%.y)
::
+| %implementation
:: +handle-sink: dispatch message