mirror of
https://github.com/Qortal/qortal.git
synced 2025-02-12 02:05:50 +00:00
Removed unnecessary join when finding MESSAGE transactions, which caused secret to be unavailable when querying pruned blocks.
This commit is contained in:
parent
e86b9b1caf
commit
c5c826453b
@ -28,7 +28,6 @@ public class HSQLDBMessageRepository implements MessageRepository {
|
|||||||
StringBuilder sql = new StringBuilder(1024);
|
StringBuilder sql = new StringBuilder(1024);
|
||||||
sql.append("SELECT signature from MessageTransactions "
|
sql.append("SELECT signature from MessageTransactions "
|
||||||
+ "JOIN Transactions USING (signature) "
|
+ "JOIN Transactions USING (signature) "
|
||||||
+ "JOIN BlockTransactions ON transaction_signature = signature "
|
|
||||||
+ "WHERE ");
|
+ "WHERE ");
|
||||||
|
|
||||||
List<String> whereClauses = new ArrayList<>();
|
List<String> whereClauses = new ArrayList<>();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user