Update web3-provider.js

fix_save
bunsenstraat 3 years ago committed by GitHub
parent a8ddd550a7
commit 860074e0ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/remix-ide/src/app/tabs/web3-provider.js

@ -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

Loading…
Cancel
Save