Display JSON when using btcctl's signrawtransaction.
This commit is contained in:
parent
6d739c5a9e
commit
6793bb23ac
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ var commandHandlers = map[string]*handlerData{
|
||||||
"setgenerate": {1, 1, displayGeneric, []conversionHandler{toBool, toInt}, makeSetGenerate, "<generate> [genproclimit]"},
|
"setgenerate": {1, 1, displayGeneric, []conversionHandler{toBool, toInt}, makeSetGenerate, "<generate> [genproclimit]"},
|
||||||
"settxfee": {1, 0, displayGeneric, []conversionHandler{toSatoshi}, makeSetTxFee, "<amount>"},
|
"settxfee": {1, 0, displayGeneric, []conversionHandler{toSatoshi}, makeSetTxFee, "<amount>"},
|
||||||
"signmessage": {2, 2, displayGeneric, nil, makeSignMessage, "<address> <message>"},
|
"signmessage": {2, 2, displayGeneric, nil, makeSignMessage, "<address> <message>"},
|
||||||
"signrawtransaction": {1, 3, displayGeneric, nil, makeSignRawTransaction, "<hex> [{\"txid\":txid,\"vout\":n,\"scriptPubKey\":hex,\"redeemScript\":hex},...] [<privatekey1>,...] [sighashtype=\"ALL\"]"},
|
"signrawtransaction": {1, 3, displayJSONDump, nil, makeSignRawTransaction, "<hex> [{\"txid\":txid,\"vout\":n,\"scriptPubKey\":hex,\"redeemScript\":hex},...] [<privatekey1>,...] [sighashtype=\"ALL\"]"},
|
||||||
"stop": {0, 0, displayGeneric, nil, makeStop, ""},
|
"stop": {0, 0, displayGeneric, nil, makeStop, ""},
|
||||||
"submitblock": {1, 1, displayGeneric, nil, makeSubmitBlock, "<hexdata> [jsonparametersobject]"},
|
"submitblock": {1, 1, displayGeneric, nil, makeSubmitBlock, "<hexdata> [jsonparametersobject]"},
|
||||||
"validateaddress": {1, 0, displayJSONDump, nil, makeValidateAddress, "<address>"},
|
"validateaddress": {1, 0, displayJSONDump, nil, makeValidateAddress, "<address>"},
|
||||||
|
|
Loading…
Reference in a new issue