Skip to content

Commit

Permalink
internal/web3ext: fix debug.traceBlockFromFile wrapper (ethereum#14774)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
danslo authored and fjl committed Jul 10, 2017
1 parent 4f7a380 commit 0958770
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/web3ext/web3ext.go
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 0958770

Please sign in to comment.