minor: more cleanup

This commit is contained in:
Ted Blackman 2019-06-20 01:18:07 -07:00
parent 81b33598b6
commit 0926bf72d2

View File

@ -1095,6 +1095,15 @@
?: ?=(%& -.meat.shut-packet)
(run-message-still bone %hear lane shut-packet)
(run-message-pump bone %hear [message-num +.meat]:shut-packet)
:: +on-memo: handle request to send message
::
++ on-memo
|= =message
^+ peer-core
::
=^ =bone ossuary.peer-state (get-bone ossuary.peer-state duct)
::
(run-message-pump bone %send message)
:: +run-message-pump: process $message-pump-task and its effects
::
++ run-message-pump
@ -1285,15 +1294,6 @@
::
(emit target-duct %give %done `error)
--
:: +on-memo: handle request to send message
::
++ on-memo
|= =message
^+ peer-core
::
=^ =bone ossuary.peer-state (get-bone ossuary.peer-state duct)
::
(run-message-pump bone %send message)
:: +send-shut-packet: fire encrypted packet at rcvr and maybe sponsors
::
++ send-shut-packet