From d00ca484750543e46ac3b7349e03b9e3a2406766 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Fri, 22 Nov 2013 14:20:18 -0500 Subject: [PATCH] Print listtransactions replies with go-spew. --- 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 53e87027..2de2dab0 100644 --- a/util/btcctl/btcctl.go +++ b/util/btcctl/btcctl.go @@ -58,7 +58,7 @@ var commandHandlers = map[string]*handlerData{ "getrawmempool": &handlerData{0, 0, displaySpewDump, nil, makeGetRawMempool, ""}, "getrawtransaction": &handlerData{1, 1, displaySpewDump, []conversionHandler{nil, toInt}, makeGetRawTransaction, " [verbose=0]"}, "importprivkey": &handlerData{1, 2, displayGeneric, []conversionHandler{nil, nil, toBool}, makeImportPrivKey, " [label] [rescan=true]"}, - "listtransactions": &handlerData{0, 3, displayGeneric, []conversionHandler{nil, toInt, toInt}, makeListTransactions, " [account] [count=10] [from=0]"}, + "listtransactions": &handlerData{0, 3, displaySpewDump, []conversionHandler{nil, toInt, toInt}, makeListTransactions, " [account] [count=10] [from=0]"}, "verifychain": &handlerData{0, 2, displaySpewDump, []conversionHandler{toInt, toInt}, makeVerifyChain, "[level] [depth]"}, "stop": &handlerData{0, 0, displayGeneric, nil, makeStop, ""}, }