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
3285767c
Commit
3285767c
authored
Jan 16, 2018
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't ask if we have a call
parent
924aba0e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
22 deletions
+1
-22
txRunner.js
src/app/execution/txRunner.js
+1
-22
No files found.
src/app/execution/txRunner.js
View file @
3285767c
...
@@ -62,34 +62,13 @@ TxRunner.prototype.execute = function (args, callback) {
...
@@ -62,34 +62,13 @@ TxRunner.prototype.execute = function (args, callback) {
}
}
if
(
args
.
useCall
)
{
if
(
args
.
useCall
)
{
function
execute
()
{
tx
.
gas
=
gasLimit
executionContext
.
web3
().
eth
.
call
(
tx
,
function
(
error
,
result
)
{
executionContext
.
web3
().
eth
.
call
(
tx
,
function
(
error
,
result
)
{
callback
(
error
,
{
callback
(
error
,
{
result
:
result
,
result
:
result
,
transactionHash
:
result
.
transactionHash
transactionHash
:
result
.
transactionHash
})
})
})
})
}
tx
.
gas
=
gasLimit
if
(
!
self
.
config
.
get
(
'doNotShowAgain'
))
{
self
.
detectNetwork
((
err
,
network
)
=>
{
if
(
err
)
{
console
.
log
(
err
)
}
else
{
if
(
network
.
name
===
'Main'
)
{
modalDialog
(
'Confirm transaction'
,
remixdDialog
(
tx
,
self
),
{
label
:
'Confirm'
,
fn
:
()
=>
{
execute
()
}})
}
else
{
execute
()
}
}
})
}
else
{
execute
()
}
}
else
{
}
else
{
function
execute
()
{
function
execute
()
{
var
sendTransaction
=
self
.
personalMode
?
executionContext
.
web3
().
personal
.
sendTransaction
:
executionContext
.
web3
().
eth
.
sendTransaction
var
sendTransaction
=
self
.
personalMode
?
executionContext
.
web3
().
personal
.
sendTransaction
:
executionContext
.
web3
().
eth
.
sendTransaction
...
...
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