Skip to content

Commit

Permalink
Automatically merged updates to draft EIP(s) 1193
Browse files Browse the repository at this point in the history
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
  • Loading branch information
ryanio authored and eip-automerger committed Aug 3, 2018
1 parent 18ea1fc commit c7b1056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EIPS/eip-1193.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ class EthereumProvider extends EventEmitter {

const id = this._nextJsonrpcId++;
const jsonrpc = '2.0';
const payload = { jsonrpc, id method, params };
const payload = { jsonrpc, id, method, params };

const promise = new Promise((resolve, reject) => {
this._promises[payload.id] = { resolve, reject };
Expand Down

0 comments on commit c7b1056

Please sign in to comment.