Skip to content

Commit

Permalink
Use proper TakerPaymentValidateFailed instead of TakerFeeValidateFailed.
Browse files Browse the repository at this point in the history
  • Loading branch information
artemii235 committed Apr 25, 2019
1 parent 037473c commit 188709a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mm2src/lp_swap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())]
)),
};

Expand Down Expand Up @@ -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())]
))
}

Expand All @@ -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())]
))
}

Expand Down

0 comments on commit 188709a

Please sign in to comment.