aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Sloof <goapsychadelic@gmail.com>2017-07-10 18:47:50 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-07-10 18:47:50 +0800
commit09587706253a26dc58a81912419ed48672c6ec68 (patch)
treebdb1b6c9106a71599e1a3194d3f0248039bdfa06
parent4f7a38001f7137972303421a11d49b0745450a3a (diff)
downloadgo-tangerine-09587706253a26dc58a81912419ed48672c6ec68.tar
go-tangerine-09587706253a26dc58a81912419ed48672c6ec68.tar.gz
go-tangerine-09587706253a26dc58a81912419ed48672c6ec68.tar.bz2
go-tangerine-09587706253a26dc58a81912419ed48672c6ec68.tar.lz
go-tangerine-09587706253a26dc58a81912419ed48672c6ec68.tar.xz
go-tangerine-09587706253a26dc58a81912419ed48672c6ec68.tar.zst
go-tangerine-09587706253a26dc58a81912419ed48672c6ec68.zip
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.
-rw-r--r--internal/web3ext/web3ext.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/web3ext/web3ext.go b/internal/web3ext/web3ext.go
index 948d659c2..44fabd6ab 100644
--- a/internal/web3ext/web3ext.go
+++ b/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({