From 71c616cec100f4e0915dcebd6bade947585b2f84 Mon Sep 17 00:00:00 2001 From: Sosthene Date: Mon, 27 May 2024 16:05:05 +0200 Subject: [PATCH] [nit] Add some usefule comment in CachedMessageStatus --- src/network.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/network.rs b/src/network.rs index cd0088b..8efa290 100644 --- a/src/network.rs +++ b/src/network.rs @@ -258,9 +258,9 @@ pub enum CachedMessageStatus { FaucetComplete, CipherWaitingTx, TxWaitingCipher, - SentWaitingConfirmation, - ReceivedMustConfirm, - MustSpendConfirmation, + SentWaitingConfirmation, // we're sender and wait for commited_in to be spent + ReceivedMustConfirm, // we're receiver and we spend commited_in to sender + MustSpendConfirmation, // we're sender and we must spend confirmed_by Complete, }