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
8c5ad13c
Unverified
Commit
8c5ad13c
authored
Apr 14, 2020
by
yann300
Committed by
GitHub
Apr 14, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2713 from ethereum/txhash-terminal
Fixed wrong display of block number and index [block: txIndex:] for transactions in terminal.
parents
18e1151a
ffaea7e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
txLogger.js
src/app/ui/txLogger.js
+2
-2
No files found.
src/app/ui/txLogger.js
View file @
8c5ad13c
...
...
@@ -299,8 +299,8 @@ function context (self, opts, blockchain) {
var
hash
=
data
.
tx
.
hash
?
helper
.
shortenHexData
(
data
.
tx
.
hash
)
:
''
var
input
=
data
.
tx
.
input
?
helper
.
shortenHexData
(
data
.
tx
.
input
)
:
''
var
logs
=
data
.
logs
&&
data
.
logs
.
decoded
&&
data
.
logs
.
decoded
.
length
?
data
.
logs
.
decoded
.
length
:
0
var
block
=
data
.
tx
.
blockNumber
||
''
var
i
=
data
.
tx
.
transactionIndex
var
block
=
data
.
receipt
?
data
.
receipt
.
blockNumber
:
data
.
tx
.
blockNumber
||
''
var
i
=
data
.
receipt
?
data
.
receipt
.
transactionIndex
:
data
.
tx
.
transactionIndex
var
value
=
val
?
typeConversion
.
toInt
(
val
)
:
0
if
(
blockchain
.
getProvider
()
===
'vm'
)
{
return
yo
`
...
...
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