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
f9b0d1a8
Commit
f9b0d1a8
authored
10 years ago
by
obscuren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated to new ethereum.js api
parent
c9f56626
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
browser.qml
cmd/mist/assets/qml/browser.qml
+1
-1
whisper.go
ui/qt/qwhisper/whisper.go
+1
-1
No files found.
cmd/mist/assets/qml/browser.qml
View file @
f9b0d1a8
...
...
@@ -70,7 +70,7 @@ Rectangle {
}
function
onShhMessage
(
message
,
id
)
{
webview
.
postEvent
(
"shh
C
hanged"
,
id
,
message
)
webview
.
postEvent
(
"shh
_c
hanged"
,
id
,
message
)
}
Item
{
...
...
This diff is collapsed.
Click to expand it.
ui/qt/qwhisper/whisper.go
View file @
f9b0d1a8
...
...
@@ -38,7 +38,7 @@ func (self *Whisper) SetView(view qml.Object) {
func
(
self
*
Whisper
)
Post
(
payload
[]
string
,
to
,
from
string
,
topics
[]
string
,
priority
,
ttl
uint32
)
{
var
data
[]
byte
for
_
,
d
:=
range
payload
{
data
=
append
(
data
,
ethutil
.
Hex2Bytes
(
d
)
...
)
data
=
append
(
data
,
fromHex
(
d
)
...
)
}
msg
:=
whisper
.
NewMessage
(
data
)
...
...
This diff is collapsed.
Click to expand it.
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