Skip to content

Commit

Permalink
fix merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
fleupold committed Sep 4, 2023
1 parent 8edab62 commit b460dab
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions crates/shared/src/price_estimation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -335,14 +335,6 @@ pub enum PriceEstimationError {
#[error("No liquidity")]
NoLiquidity,

<<<<<<< HEAD
#[error("Zero Amount")]
ZeroAmount,
=======
#[error("Deadline exceeded")]
DeadlineExceeded,
>>>>>>> 236c0fe6 (Introducting NonZeroU256 and killing ZeroAmount error)

#[error("Unsupported Order Type")]
UnsupportedOrderType(String),

Expand Down
1 change: 0 additions & 1 deletion crates/shared/src/trade_finding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ impl From<PriceEstimationError> for TradeError {
PriceEstimationError::UnsupportedToken { token, .. } => {
Self::UnsupportedOrderType(format!("{token:#x}"))
}
PriceEstimationError::ZeroAmount => Self::UnsupportedOrderType("zero amount".into()),
PriceEstimationError::RateLimited => Self::RateLimited,
PriceEstimationError::EstimatorInternal(err)
| PriceEstimationError::ProtocolInternal(err) => Self::Other(err),
Expand Down

0 comments on commit b460dab

Please sign in to comment.