diff --git a/pkg/arvo/sys/vane/ames.hoon b/pkg/arvo/sys/vane/ames.hoon index 3b501ce3c..75fbe765c 100644 --- a/pkg/arvo/sys/vane/ames.hoon +++ b/pkg/arvo/sys/vane/ames.hoon @@ -2417,6 +2417,15 @@ ++ on-memo |= [=bone payload=* valence=?(%plea %boon)] ^+ peer-core + ?: ?& (~(has in closing.peer-state) bone) + !=(payload [%$ /flow %cork ~]) + == + ~> %slog.0^leaf/"ames: ignoring message on closing bone {}" + peer-core + ?: (~(has in corked.peer-state) bone) + ~> %slog.0^leaf/"ames: ignoring message on corked bone {}" + peer-core + :: =/ =message-blob (dedup-message (jim payload)) =. peer-core (run-message-pump bone %memo message-blob) :: @@ -2589,14 +2598,6 @@ ++ run-message-pump |= [=bone task=message-pump-task] ^+ peer-core - ?: ?& (~(has in closing.peer-state) bone) - !=(task [%memo ^~((jim [%$ /flow [%cork ~]]))]) - == - ~> %slog.0^leaf/"ames: activity on closing bone {}" - peer-core - ?: (~(has in corked.peer-state) bone) - ~> %slog.0^leaf/"ames: activity on corked bone {}" - peer-core :: pass .task to the |message-pump and apply state mutations :: =/ =message-pump-state