docket: don't crash on receiving uninstall ack

We should've already deleted it from state by this point.
This commit is contained in:
Fang 2021-09-29 00:49:44 +04:00
parent 514c17ee8e
commit fba9fb4aad
No known key found for this signature in database
GPG Key ID: EB035760C1BBA972

View File

@ -286,7 +286,7 @@
|= [=desk =^wire]
^- (quip card _state)
~| [%took-for-nonexistent-charge desk]
?> (~(has by charges) desk)
?> |((~(has by charges) desk) ?=([%uninstall ~] wire))
=* cha ~(. ch desk)
?+ wire ~|(%bad-charge-wire !!)
::