Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
444c9eff
Commit
444c9eff
authored
Aug 23, 2014
by
obscuren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check data length
parent
ded013b7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
3 deletions
+1
-3
info.qml
ethereal/assets/qml/views/info.qml
+0
-1
wallet.qml
ethereal/assets/qml/wallet.qml
+0
-1
ui_lib.go
ethereal/ui_lib.go
+1
-1
No files found.
ethereal/assets/qml/views/info.qml
View file @
444c9eff
...
...
@@ -106,7 +106,6 @@ Rectangle {
}
}
}
}
Menu
{
...
...
ethereal/assets/qml/wallet.qml
View file @
444c9eff
...
...
@@ -43,7 +43,6 @@ ApplicationWindow {
// Takes care of loading all default plugins
Component.onCompleted
:
{
var
walletView
=
addPlugin
(
"./views/wallet.qml"
,
{
noAdd
:
true
,
section
:
"ethereum"
,
active
:
true
})
var
historyView
=
addPlugin
(
"./views/history.qml"
,
{
noAdd
:
true
,
section
:
"legacy"
})
var
newTxView
=
addPlugin
(
"./views/transaction.qml"
,
{
noAdd
:
true
,
section
:
"legacy"
})
var
chainView
=
addPlugin
(
"./views/chain.qml"
,
{
noAdd
:
true
,
section
:
"legacy"
})
var
infoView
=
addPlugin
(
"./views/info.qml"
,
{
noAdd
:
true
,
section
:
"legacy"
})
...
...
ethereal/ui_lib.go
View file @
444c9eff
...
...
@@ -53,7 +53,7 @@ func (self *UiLib) LookupDomain(domain string) string {
data
:=
world
.
Config
()
.
Get
(
"DnsReg"
)
.
StorageString
(
domain
)
.
Bytes
()
// Left padded = A record, Right padded = CNAME
if
data
[
0
]
==
0
{
if
len
(
data
)
>
0
&&
data
[
0
]
==
0
{
data
=
bytes
.
TrimLeft
(
data
,
"
\x00
"
)
var
ipSlice
[]
string
for
_
,
d
:=
range
data
{
...
...
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