From 53016c12254d581d630e331da1cacb985734edc3 Mon Sep 17 00:00:00 2001 From: Péter Szilágyi Date: Thu, 14 Apr 2016 15:10:29 +0300 Subject: eth, rpc: make trace configs optional --- rpc/javascript.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'rpc') diff --git a/rpc/javascript.go b/rpc/javascript.go index 475691a87..4d2bd1cde 100644 --- a/rpc/javascript.go +++ b/rpc/javascript.go @@ -268,22 +268,22 @@ web3._extend({ new web3._extend.Method({ name: 'traceBlock', call: 'debug_traceBlock', - params: 2 + params: 1 }), new web3._extend.Method({ name: 'traceBlockByFile', call: 'debug_traceBlockByFile', - params: 2 + params: 1 }), new web3._extend.Method({ name: 'traceBlockByNumber', call: 'debug_traceBlockByNumber', - params: 2 + params: 1 }), new web3._extend.Method({ name: 'traceBlockByHash', call: 'debug_traceBlockByHash', - params: 2 + params: 1 }), new web3._extend.Method({ name: 'seedHash', @@ -390,7 +390,7 @@ web3._extend({ new web3._extend.Method({ name: 'traceTransaction', call: 'debug_traceTransaction', - params: 2 + params: 1 }) ], properties: [] -- cgit