mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +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>
|
<directory>src/main/resources</directory>
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</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>
|
</build>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
@ -60,6 +75,7 @@
|
|||||||
<groupId>com.google.inject</groupId>
|
<groupId>com.google.inject</groupId>
|
||||||
<artifactId>guice</artifactId>
|
<artifactId>guice</artifactId>
|
||||||
<version>3.0</version>
|
<version>3.0</version>
|
||||||
|
<classifier>no_aop</classifier>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -47,7 +47,7 @@ public class MockOrderBook implements IOrderBook
|
|||||||
boolean directionResult = offerListVO.getOffer().getDirection() != orderBookFilter.getDirection();
|
boolean directionResult = offerListVO.getOffer().getDirection() != orderBookFilter.getDirection();
|
||||||
boolean currencyResult = offerListVO.getOffer().getCurrency().equals(orderBookFilter.getCurrency());
|
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();
|
priceResult = offerListVO.getOffer().getPrice() <= orderBookFilter.getPrice();
|
||||||
else
|
else
|
||||||
priceResult = offerListVO.getOffer().getPrice() >= orderBookFilter.getPrice();
|
priceResult = offerListVO.getOffer().getPrice() >= orderBookFilter.getPrice();
|
||||||
|
Loading…
Reference in New Issue
Block a user