good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open
bor
Commits
e5e265d0
Commit
e5e265d0
authored
10 years ago
by
Taylor Gerring
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' into rpcfrontier
parents
5757f547
22893b7a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmd/mist/bindings.go
+3
-12
3 additions, 12 deletions
cmd/mist/bindings.go
cmd/mist/ui_lib.go
+1
-10
1 addition, 10 deletions
cmd/mist/ui_lib.go
with
4 additions
and
22 deletions
cmd/mist/bindings.go
+
3
−
12
View file @
e5e265d0
...
...
@@ -26,8 +26,8 @@ import (
"strconv"
"github.com/ethereum/go-ethereum/cmd/utils"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/state"
)
...
...
@@ -37,18 +37,9 @@ type plugin struct {
}
func
(
gui
*
Gui
)
Transact
(
from
,
recipient
,
value
,
gas
,
gasPrice
,
d
string
)
(
string
,
error
)
{
var
data
string
if
len
(
recipient
)
==
0
{
code
,
err
:=
common
.
Compile
(
d
,
false
)
if
err
!=
nil
{
return
""
,
err
}
data
=
common
.
Bytes2Hex
(
code
)
}
else
{
data
=
common
.
Bytes2Hex
(
utils
.
FormatTransactionData
(
d
))
}
d
=
common
.
Bytes2Hex
(
utils
.
FormatTransactionData
(
d
))
return
gui
.
xeth
.
Transact
(
from
,
recipient
,
value
,
gas
,
gasPrice
,
d
ata
)
return
gui
.
xeth
.
Transact
(
from
,
recipient
,
value
,
gas
,
gasPrice
,
d
)
}
func
(
self
*
Gui
)
AddPlugin
(
pluginPath
string
)
{
...
...
This diff is collapsed.
Click to expand it.
cmd/mist/ui_lib.go
+
1
−
10
View file @
e5e265d0
...
...
@@ -25,9 +25,9 @@ import (
"io/ioutil"
"path"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/eth"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/event/filter"
"github.com/ethereum/go-ethereum/javascript"
"github.com/ethereum/go-ethereum/xeth"
...
...
@@ -137,15 +137,6 @@ func (self *UiLib) Transact(params map[string]interface{}) (string, error) {
)
}
func
(
self
*
UiLib
)
Compile
(
code
string
)
(
string
,
error
)
{
bcode
,
err
:=
common
.
Compile
(
code
,
false
)
if
err
!=
nil
{
return
err
.
Error
(),
err
}
return
common
.
Bytes2Hex
(
bcode
),
err
}
func
(
self
*
UiLib
)
Call
(
params
map
[
string
]
interface
{})
(
string
,
error
)
{
object
:=
mapToTxParams
(
params
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment