|
|
@ -39,9 +39,9 @@ function MetamaskInpageProvider (connectionStream) { |
|
|
|
|
|
|
|
|
|
|
|
MetamaskInpageProvider.prototype.send = function (payload) { |
|
|
|
MetamaskInpageProvider.prototype.send = function (payload) { |
|
|
|
const self = this |
|
|
|
const self = this |
|
|
|
|
|
|
|
|
|
|
|
let selectedAddress |
|
|
|
let selectedAddress |
|
|
|
|
|
|
|
let result = null |
|
|
|
var result = null |
|
|
|
|
|
|
|
switch (payload.method) { |
|
|
|
switch (payload.method) { |
|
|
|
|
|
|
|
|
|
|
|
case 'eth_accounts': |
|
|
|
case 'eth_accounts': |
|
|
|