We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e0a4bd8 + 97958bd commit b48daa9Copy full SHA for b48daa9
src/main/java/multichain/command/BlockCommand.java
@@ -204,6 +204,8 @@ public long getBlockCount() throws MultichainException {
204
Object objectBlockCount = executeGetBlockCount();
205
if (verifyInstance(objectBlockCount, long.class)) {
206
stringBlockCount = (long) objectBlockCount;
207
+ } else if (verifyInstance(objectBlockCount, Double.class)) {
208
+ stringBlockCount = ((Double)objectBlockCount).longValue();
209
}
210
211
return stringBlockCount;
0 commit comments