|
|
|
@ -23,7 +23,7 @@ export class Web3ProviderModule extends Plugin { |
|
|
|
|
sendAsync(payload) { |
|
|
|
|
|
|
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
|
this.askUserPermission('sendAsync', `Calling ${payload.method} with parameters ${JSON.stringify(payload.params)}`).then( |
|
|
|
|
this.askUserPermission('sendAsync', `Calling ${payload.method} with parameters ${JSON.stringify(payload.params, null, '\t')}`).then( |
|
|
|
|
async (result) => { |
|
|
|
|
if (result) { |
|
|
|
|
const provider = this.blockchain.web3().currentProvider |
|
|
|
|