mirror of
https://github.com/Qortal/qortal.git
synced 2025-05-09 03:07:51 +00:00
Fix incorrect column indexes when fetching frozen AT data
This commit is contained in:
parent
1f409235e4
commit
3ef8b81e51
@ -50,7 +50,7 @@ public class HSQLDBATRepository implements ATRepository {
|
|||||||
boolean hadFatalError = resultSet.getBoolean(10);
|
boolean hadFatalError = resultSet.getBoolean(10);
|
||||||
boolean isFrozen = resultSet.getBoolean(11);
|
boolean isFrozen = resultSet.getBoolean(11);
|
||||||
|
|
||||||
Long frozenBalance = resultSet.getLong(11);
|
Long frozenBalance = resultSet.getLong(12);
|
||||||
if (frozenBalance == 0 && resultSet.wasNull())
|
if (frozenBalance == 0 && resultSet.wasNull())
|
||||||
frozenBalance = null;
|
frozenBalance = null;
|
||||||
|
|
||||||
@ -118,7 +118,7 @@ public class HSQLDBATRepository implements ATRepository {
|
|||||||
boolean hadFatalError = resultSet.getBoolean(10);
|
boolean hadFatalError = resultSet.getBoolean(10);
|
||||||
boolean isFrozen = resultSet.getBoolean(11);
|
boolean isFrozen = resultSet.getBoolean(11);
|
||||||
|
|
||||||
Long frozenBalance = resultSet.getLong(11);
|
Long frozenBalance = resultSet.getLong(12);
|
||||||
if (frozenBalance == 0 && resultSet.wasNull())
|
if (frozenBalance == 0 && resultSet.wasNull())
|
||||||
frozenBalance = null;
|
frozenBalance = null;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user