mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 05:45:40 +00:00
Rename InsufficientXMR to InsufficientXmr
This commit is contained in:
parent
bae391ff9c
commit
d813957c5a
@ -128,7 +128,7 @@ where
|
|||||||
/// The refund timelock has been reached.
|
/// The refund timelock has been reached.
|
||||||
BtcExpired,
|
BtcExpired,
|
||||||
/// Alice did not lock up enough monero in the shared output.
|
/// Alice did not lock up enough monero in the shared output.
|
||||||
InsufficientXMR(monero::InsufficientFunds),
|
InsufficientXmr(monero::InsufficientFunds),
|
||||||
/// Could not find Bob's signature on the redeem transaction witness
|
/// Could not find Bob's signature on the redeem transaction witness
|
||||||
/// stack.
|
/// stack.
|
||||||
BtcRedeemSignature,
|
BtcRedeemSignature,
|
||||||
@ -202,7 +202,7 @@ where
|
|||||||
.await
|
.await
|
||||||
{
|
{
|
||||||
Either::Left((Err(e), _)) => {
|
Either::Left((Err(e), _)) => {
|
||||||
return Err(SwapFailed::AfterBtcLock(Reason::InsufficientXMR(e)))
|
return Err(SwapFailed::AfterBtcLock(Reason::InsufficientXmr(e)))
|
||||||
}
|
}
|
||||||
Either::Right(_) => return Err(SwapFailed::AfterBtcLock(Reason::BtcExpired)),
|
Either::Right(_) => return Err(SwapFailed::AfterBtcLock(Reason::BtcExpired)),
|
||||||
_ => {}
|
_ => {}
|
||||||
|
Loading…
Reference in New Issue
Block a user