forked from Qortal/qortal
Fix SQL logic error when fetching trade offers
This commit is contained in:
parent
9ceff90f42
commit
98564aa8bf
@ -147,7 +147,7 @@ public class HSQLDBATRepository implements ATRepository {
|
|||||||
bindParams.add(codeHash);
|
bindParams.add(codeHash);
|
||||||
|
|
||||||
if (isExecutable != null) {
|
if (isExecutable != null) {
|
||||||
sql.append("AND is_finished = ? ");
|
sql.append("AND is_finished != ? ");
|
||||||
bindParams.add(isExecutable);
|
bindParams.add(isExecutable);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user