Document Reason enum

pull/12/head
Lucas Soriano del Pino 4 years ago
parent 7d307e581a
commit 369770488f

@ -122,8 +122,11 @@ where
AfterBtcLock(Reason), AfterBtcLock(Reason),
} }
/// Reason why the swap has failed.
enum Reason { enum Reason {
/// The refund timelock has been reached.
BtcExpired, BtcExpired,
/// Alice did not lock up enough monero in the shared output.
InsufficientXMR(monero::InsufficientFunds), InsufficientXMR(monero::InsufficientFunds),
} }

Loading…
Cancel
Save