From af0750dd76913b6dbf2e00015ee01f5f5092bc7a Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Thu, 9 Jan 2014 12:15:46 -0600 Subject: [PATCH] Don't display getblockccount from btcctl 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 b14a92cb..44194072 100644 --- a/util/btcctl/btcctl.go +++ b/util/btcctl/btcctl.go @@ -55,7 +55,7 @@ var commandHandlers = map[string]*handlerData{ "getbalance": &handlerData{0, 2, displayGeneric, []conversionHandler{nil, toInt}, makeGetBalance, "[account] [minconf=1]"}, "getbestblockhash": &handlerData{0, 0, displayGeneric, nil, makeGetBestBlockHash, ""}, "getblock": &handlerData{1, 2, displayJSONDump, []conversionHandler{nil, toBool, toBool}, makeGetBlock, ""}, - "getblockcount": &handlerData{0, 0, displayFloat64, nil, makeGetBlockCount, ""}, + "getblockcount": &handlerData{0, 0, displayGeneric, nil, makeGetBlockCount, ""}, "getblockhash": &handlerData{1, 0, displayGeneric, []conversionHandler{toInt64}, makeGetBlockHash, ""}, "getconnectioncount": &handlerData{0, 0, displayFloat64, nil, makeGetConnectionCount, ""}, "getdifficulty": &handlerData{0, 0, displayFloat64, nil, makeGetDifficulty, ""},