We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eb470f0 + 97958bd commit c374a17Copy full SHA for c374a17
src/main/java/multichain/command/BlockCommand.java
@@ -205,8 +205,8 @@ public long getBlockCount() throws MultichainException {
205
if (verifyInstance(objectBlockCount, long.class)) {
206
stringBlockCount = (long) objectBlockCount;
207
} else if (verifyInstance(objectBlockCount, Double.class)) {
208
- stringBlockCount = ((Double)objectBlockCount).longValue();
209
- }
+ stringBlockCount = ((Double)objectBlockCount).longValue();
+ }
210
211
return stringBlockCount;
212
}
0 commit comments