mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-01-11 15:39:37 -05:00
Document Reason enum
This commit is contained in:
parent
7d307e581a
commit
369770488f
@ -122,8 +122,11 @@ where
|
||||
AfterBtcLock(Reason),
|
||||
}
|
||||
|
||||
/// Reason why the swap has failed.
|
||||
enum Reason {
|
||||
/// The refund timelock has been reached.
|
||||
BtcExpired,
|
||||
/// Alice did not lock up enough monero in the shared output.
|
||||
InsufficientXMR(monero::InsufficientFunds),
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user