commit ca4502bec78da36db5b5e8f5e6fd5b3d01dfea48
parent 615dc5fe65bb9db5ed831f3deb7d1e757ebaf06a
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 23 Apr 2023 12:57:09 +0200
fix peer pull credit states
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/design-documents/037-wallet-transactions-lifecycle.rst b/design-documents/037-wallet-transactions-lifecycle.rst
@@ -977,9 +977,9 @@ TODO: Also specify variant where account reserve needs to be created / funded fi
* ``[failure:already-merged] => pending(withdraw)``: Too late to abort, the
other side already paid the invoice.
* ``[process-success] => aborted``: The wallet has deleted the purse.
- * ``[failure:other] => aborted``: The purse deletion failed; we are
+ * ``[failure:other] => failed``: The purse deletion failed; we are
nevertheless done.
- * ``[action:force-abort] => aborted``: Money may be lost if it was deposited
+ * ``[action:force-abort] => failed``: Money may be lost if it was deposited
into the purse in the meantime.
* ``aborted``
diff --git a/transaction-pull-credit-states.dot b/transaction-pull-credit-states.dot
@@ -33,8 +33,8 @@ digraph G {
aborting_delete->pending_withdraw [color="red", label="failure:already-merged"];
aborting_delete->aborted;
- aborting_delete->aborted [color="red", label="failure:other"];
- aborting_delete->aborted [color="blue", label="force-abort"];
+ aborting_delete->failed [color="red", label="failure:other"];
+ aborting_delete->failed [color="blue", label="force-abort"];
aborted->deleted [color="blue", label="delete"];