Skip to content
Permalink
Browse files

Use proper TakerPaymentValidateFailed instead of TakerFeeValidateFailed.

  • Loading branch information...
artemii235 committed Apr 25, 2019
1 parent 037473c commit 188709a26565b6ab68738273b1f7eaf6e71f2fea
Showing with 3 additions and 3 deletions.
  1. +3 −3 mm2src/lp_swap.rs
@@ -681,7 +681,7 @@ impl MakerSwap {
Ok(tx) => tx,
Err(err) => return Ok((
Some(MakerSwapCommand::RefundMakerPayment),
vec![MakerSwapEvent::TakerFeeValidateFailed(ERRL!("!taker_coin.tx_enum_from_bytes: {}", err).into())]
vec![MakerSwapEvent::TakerPaymentValidateFailed(ERRL!("!taker_coin.tx_enum_from_bytes: {}", err).into())]
)),
};

@@ -710,7 +710,7 @@ impl MakerSwap {
if let Err(e) = validated {
return Ok((
Some(MakerSwapCommand::RefundMakerPayment),
vec![MakerSwapEvent::TakerFeeValidateFailed(ERRL!("!taker_coin.validate_taker_payment: {}", e).into())]
vec![MakerSwapEvent::TakerPaymentValidateFailed(ERRL!("!taker_coin.validate_taker_payment: {}", e).into())]
))
}

@@ -723,7 +723,7 @@ impl MakerSwap {
if let Err(err) = wait {
return Ok((
Some(MakerSwapCommand::RefundMakerPayment),
vec![MakerSwapEvent::TakerFeeValidateFailed(ERRL!("!taker_coin.wait_for_confirmations: {}", err).into())]
vec![MakerSwapEvent::TakerPaymentValidateFailed(ERRL!("!taker_coin.wait_for_confirmations: {}", err).into())]
))
}

0 comments on commit 188709a

Please sign in to comment.
You can’t perform that action at this time.