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
483766b6
Commit
483766b6
authored
Sep 17, 2018
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
standard
parent
fe6f67e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
txRunner.js
remix-lib/src/execution/txRunner.js
+2
-4
No files found.
remix-lib/src/execution/txRunner.js
View file @
483766b6
...
...
@@ -48,20 +48,18 @@ class TxRunner {
return
callback
(
err
,
resp
)
}
self
.
event
.
trigger
(
'transactionBroadcasted'
,
[
resp
])
var
listenOnResponse
=
()
=>
{
return
new
Promise
(
async
(
resolve
,
reject
)
=>
{
var
result
=
await
tryTillReceiptAvailable
(
resp
)
tx
=
await
tryTillTxAvailable
(
resp
)
resolve
({
result
,
result
,
tx
,
transactionHash
:
result
?
result
.
transactionHash
:
null
,
transactionHash
:
result
?
result
.
transactionHash
:
null
})
})
}
listenOnResponse
().
then
((
txData
)
=>
{
callback
(
null
,
txData
)
}).
catch
((
error
)
=>
{
callback
(
error
)
})
}
var
args
=
pass
!==
null
?
[
tx
,
pass
,
cb
]
:
[
tx
,
cb
]
try
{
...
...
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