diff --git a/pom.xml b/pom.xml index 4baf9de8df..c878cf8081 100644 --- a/pom.xml +++ b/pom.xml @@ -33,6 +33,21 @@ src/main/resources + + + + org.apache.maven.plugins + maven-jar-plugin + 2.4 + + + + io.bitsquare.BitSquare + + + + + @@ -60,6 +75,7 @@ com.google.inject guice 3.0 + no_aop diff --git a/src/main/java/io/bitsquare/trade/orderbook/MockOrderBook.java b/src/main/java/io/bitsquare/trade/orderbook/MockOrderBook.java index cf7144f092..61981dbc8a 100644 --- a/src/main/java/io/bitsquare/trade/orderbook/MockOrderBook.java +++ b/src/main/java/io/bitsquare/trade/orderbook/MockOrderBook.java @@ -47,7 +47,7 @@ public class MockOrderBook implements IOrderBook boolean directionResult = offerListVO.getOffer().getDirection() != orderBookFilter.getDirection(); boolean currencyResult = offerListVO.getOffer().getCurrency().equals(orderBookFilter.getCurrency()); - if (offerListVO.getOffer().getDirection() == Direction.BUY && orderBookFilter.getPrice() > 0) + if (offerListVO.getOffer().getDirection() == Direction.SELL && orderBookFilter.getPrice() > 0) priceResult = offerListVO.getOffer().getPrice() <= orderBookFilter.getPrice(); else priceResult = offerListVO.getOffer().getPrice() >= orderBookFilter.getPrice();