From f93c8a4af15cc5e7495249dcba07ee67f57afac4 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Thu, 9 Jan 2014 12:17:26 -0600 Subject: [PATCH] Don't display btcctl getconnectioncount as float. --- util/btcctl/btcctl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/btcctl/btcctl.go b/util/btcctl/btcctl.go index 44194072..5a254dc7 100644 --- a/util/btcctl/btcctl.go +++ b/util/btcctl/btcctl.go @@ -57,7 +57,7 @@ var commandHandlers = map[string]*handlerData{ "getblock": &handlerData{1, 2, displayJSONDump, []conversionHandler{nil, toBool, toBool}, makeGetBlock, ""}, "getblockcount": &handlerData{0, 0, displayGeneric, nil, makeGetBlockCount, ""}, "getblockhash": &handlerData{1, 0, displayGeneric, []conversionHandler{toInt64}, makeGetBlockHash, ""}, - "getconnectioncount": &handlerData{0, 0, displayFloat64, nil, makeGetConnectionCount, ""}, + "getconnectioncount": &handlerData{0, 0, displayGeneric, nil, makeGetConnectionCount, ""}, "getdifficulty": &handlerData{0, 0, displayFloat64, nil, makeGetDifficulty, ""}, "getgenerate": &handlerData{0, 0, displayGeneric, nil, makeGetGenerate, ""}, "gethashespersec": &handlerData{0, 0, displayGeneric, nil, makeGetHashesPerSec, ""},