mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-07-26 08:15:35 -04:00
Document Reason enum
This commit is contained in:
parent
7d307e581a
commit
369770488f
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue