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.
1 parent e0a4bd8 commit 97958bdCopy full SHA for 97958bd
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