mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
fix filtering
This commit is contained in:
parent
24137c7021
commit
63c1687a0c
16
pom.xml
16
pom.xml
@ -33,6 +33,21 @@
|
||||
<directory>src/main/resources</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>2.4</version>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<mainClass>io.bitsquare.BitSquare</mainClass>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<dependencies>
|
||||
@ -60,6 +75,7 @@
|
||||
<groupId>com.google.inject</groupId>
|
||||
<artifactId>guice</artifactId>
|
||||
<version>3.0</version>
|
||||
<classifier>no_aop</classifier>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user