Skip to content

Commit 2b1b65b

Browse files
committed
fix getblockcount
1 parent b5544c0 commit 2b1b65b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/multichain/command/CommandElt.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public enum CommandElt {
104104
GETBLOCKCHAININFO("getblockchaininfo", null, new Class<?>[] {BlockchainInfo.class}),
105105
GETBLOCKCHAINPARAMS("getblockchainparams", null,
106106
new Class<?>[] {(new HashMap<String, String>()).getClass()}),
107-
GETBLOCKCOUNT("getblockcount", null, new Class<?>[] {Long.class}),
107+
GETBLOCKCOUNT("getblockcount", null, new Class<?>[] {Double.class}),
108108
GETBLOCKHASH("getblockhash", null, new Class<?>[] {String.class}),
109109
GETBLOCKTEMPLATE("getblocktemplate", null, new Class<?>[] {BlockTemplate.class}),
110110
GETCHAINTIPS("getchaintips", null, new Class<?>[] {ChainTip.class}, true),

0 commit comments

Comments
 (0)