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.
pull/14783/head
Daniel Sloof 7 years ago committed by Felix Lange
parent 4f7a38001f
commit 0958770625
  1. 4
      internal/web3ext/web3ext.go

@ -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({

Loading…
Cancel
Save