|
|
@ -21,7 +21,6 @@ export class Web3ProviderModule extends Plugin { |
|
|
|
Should be taken carefully and probably not be release as it is now. |
|
|
|
Should be taken carefully and probably not be release as it is now. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
sendAsync (payload) { |
|
|
|
sendAsync (payload) { |
|
|
|
console.log(payload) |
|
|
|
|
|
|
|
return this.askUserPermission('sendAsync', `Calling ${payload.method} with parameters ${JSON.stringify(payload.params)}`).then( |
|
|
|
return this.askUserPermission('sendAsync', `Calling ${payload.method} with parameters ${JSON.stringify(payload.params)}`).then( |
|
|
|
async (result) => { |
|
|
|
async (result) => { |
|
|
|
if(result){ |
|
|
|
if(result){ |
|
|
|