diff options
author | Daniel Sloof <goapsychadelic@gmail.com> | 2017-07-10 18:47:50 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-07-10 18:47:50 +0800 |
commit | 09587706253a26dc58a81912419ed48672c6ec68 (patch) | |
tree | bdb1b6c9106a71599e1a3194d3f0248039bdfa06 /internal/web3ext | |
parent | 4f7a38001f7137972303421a11d49b0745450a3a (diff) | |
download | dexon-09587706253a26dc58a81912419ed48672c6ec68.tar dexon-09587706253a26dc58a81912419ed48672c6ec68.tar.gz dexon-09587706253a26dc58a81912419ed48672c6ec68.tar.bz2 dexon-09587706253a26dc58a81912419ed48672c6ec68.tar.lz dexon-09587706253a26dc58a81912419ed48672c6ec68.tar.xz dexon-09587706253a26dc58a81912419ed48672c6ec68.tar.zst dexon-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.
Diffstat (limited to 'internal/web3ext')
-rw-r--r-- | internal/web3ext/web3ext.go | 4 |
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({ |