aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2015-04-21 17:47:40 +0800
committerzelig <viktor.tron@gmail.com>2015-04-24 19:45:11 +0800
commita3fb41981e49fd90d8c76b371782831f243a919e (patch)
tree81143014c92e264bf00bbee63a3e655d8d2c2b56 /cmd/geth
parent9caf880ff93794f80122ee7272c050bf571efa61 (diff)
downloadgo-tangerine-a3fb41981e49fd90d8c76b371782831f243a919e.tar.gz
go-tangerine-a3fb41981e49fd90d8c76b371782831f243a919e.tar.zst
go-tangerine-a3fb41981e49fd90d8c76b371782831f243a919e.zip
cmd/admin: rename debug.block to debug.processBlock; move backtrace under debug
Diffstat (limited to 'cmd/geth')
-rw-r--r--cmd/geth/admin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/geth/admin.go b/cmd/geth/admin.go
index e75ff047a..c23fe9b43 100644
--- a/cmd/geth/admin.go
+++ b/cmd/geth/admin.go
@@ -35,7 +35,6 @@ func (js *jsre) adminBindings() {
admin.Set("import", js.importChain)
admin.Set("export", js.exportChain)
admin.Set("verbosity", js.verbosity)
- admin.Set("backtrace", js.backtrace)
admin.Set("progress", js.downloadProgress)
admin.Set("miner", struct{}{})
@@ -49,11 +48,12 @@ func (js *jsre) adminBindings() {
admin.Set("debug", struct{}{})
t, _ = admin.Get("debug")
debug := t.Object()
+ debug.Set("backtrace", js.backtrace)
debug.Set("printBlock", js.printBlock)
debug.Set("dumpBlock", js.dumpBlock)
debug.Set("getBlockRlp", js.getBlockRlp)
debug.Set("setHead", js.setHead)
- debug.Set("block", js.debugBlock)
+ debug.Set("processBlock", js.debugBlock)
}
func (js *jsre) getBlock(call otto.FunctionCall) (*types.Block, error) {