internal/web3ext: fix debug.traceBlockFromFile wrapper (#14774)

As stated in the documentation, this method should be called traceBlockFromFile
and not traceBlockByFile. Previously this would result in a 'The method ... does
not exist/is not available' error.
This commit is contained in:
Daniel Sloof 2017-07-10 12:47:50 +02:00 committed by Felix Lange
parent 4f7a38001f
commit 0958770625
1 changed files with 2 additions and 2 deletions

View File

@ -208,8 +208,8 @@ web3._extend({
params: 1
}),
new web3._extend.Method({
name: 'traceBlockByFile',
call: 'debug_traceBlockByFile',
name: 'traceBlockFromFile',
call: 'debug_traceBlockFromFile',
params: 1
}),
new web3._extend.Method({