Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
d9691971
Commit
d9691971
authored
Aug 13, 2021
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
linting
parent
0bdcba42
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
txRunnerWeb3.ts
libs/remix-lib/src/execution/txRunnerWeb3.ts
+1
-2
No files found.
libs/remix-lib/src/execution/txRunnerWeb3.ts
View file @
d9691971
...
...
@@ -16,7 +16,6 @@ export class TxRunnerWeb3 {
}
_executeTx
(
tx
,
network
,
txFee
,
api
,
promptCb
,
callback
)
{
if
(
network
&&
network
.
lastBlock
&&
network
.
lastBlock
.
baseFeePerGas
)
{
// the sending stack (web3.js / metamask need to have the type defined)
// this is to avoid the following issue: https://github.com/MetaMask/metamask-extension/issues/11824
...
...
@@ -114,7 +113,7 @@ export class TxRunnerWeb3 {
if
(
this
.
_api
.
config
.
getUnpersistedProperty
(
'doNotShowTransactionConfirmationAgain'
))
{
return
this
.
_executeTx
(
tx
,
network
,
null
,
this
.
_api
,
promptCb
,
callback
)
}
}
confirmCb
(
network
,
tx
,
tx
[
'gas'
],
(
txFee
)
=>
{
return
this
.
_executeTx
(
tx
,
network
,
txFee
,
this
.
_api
,
promptCb
,
callback
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment