Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Commit

Permalink
Patch chainId lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
gabmontes committed Feb 15, 2019
1 parent 4b81a27 commit 06ce2f6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions patches/web3-eth-accounts+1.0.0-beta.37.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
patch-package
--- a/node_modules/web3-eth-accounts/src/index.js
+++ b/node_modules/web3-eth-accounts/src/index.js
@@ -69,7 +69,7 @@ var Accounts = function Accounts() {
var _ethereumCall = [
new Method({
name: 'getId',
- call: 'net_version',
+ call: 'eth_chainId',
params: 0,
outputFormatter: utils.hexToNumber
}),

0 comments on commit 06ce2f6

Please sign in to comment.