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
c0081f66
Commit
c0081f66
authored
Sep 02, 2017
by
ninabreznik
Committed by
yann300
Sep 08, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix TO field in details for constructor and call transactions
parent
68d6f236
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
txLogger.js
src/app/execution/txLogger.js
+12
-1
No files found.
src/app/execution/txLogger.js
View file @
c0081f66
...
@@ -106,8 +106,19 @@ function log (self, tx, api) {
...
@@ -106,8 +106,19 @@ function log (self, tx, api) {
}
}
function
renderKnownTransaction
(
self
,
data
)
{
function
renderKnownTransaction
(
self
,
data
)
{
if
(
data
.
tx
.
blockHash
)
{
var
to
=
data
.
tx
.
to
var
to
=
data
.
tx
.
to
if
(
to
)
to
=
helper
.
shortenAddress
(
data
.
tx
.
to
)
to
=
helper
.
shortenAddress
(
data
.
tx
.
to
)
}
else
if
(
data
.
tx
.
hash
)
{
var
name
=
data
.
resolvedData
.
contractName
var
fn
=
data
.
resolvedData
.
fn
if
(
fn
===
'(constructor)'
)
{
// create instance
to
=
name
+
'.'
+
fn
+
','
+
' 0 logs'
}
else
{
// function call
var
toHash
=
helper
.
shortenAddress
(
data
.
resolvedData
.
to
)
to
=
name
+
'.'
+
fn
+
toHash
+
','
+
' 0 logs'
}
}
function
debug
()
{
function
debug
()
{
self
.
event
.
trigger
(
'debugRequested'
,
[
data
.
tx
.
hash
])
self
.
event
.
trigger
(
'debugRequested'
,
[
data
.
tx
.
hash
])
}
}
...
...
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