aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-09 20:50:05 +0800
committerobscuren <geffobscura@gmail.com>2015-03-09 20:50:05 +0800
commit20741a96ac6dc824bcc7d67e7c966fa65cbb2faf (patch)
treebf72d48cca05c1847043b450ff04e92368af8a36 /rpc
parent738d6e20f2a229aab15b767cb8ca2d2f9c2f9aa8 (diff)
downloaddexon-20741a96ac6dc824bcc7d67e7c966fa65cbb2faf.tar.gz
dexon-20741a96ac6dc824bcc7d67e7c966fa65cbb2faf.tar.zst
dexon-20741a96ac6dc824bcc7d67e7c966fa65cbb2faf.zip
Updated xeth instances to take extra param for ui.Interface
Please be aware that if any of the instances on xeth.frontend are called the program will crash due to the default, temporarily, frontend interface.
Diffstat (limited to 'rpc')
-rw-r--r--rpc/api.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/rpc/api.go b/rpc/api.go
index ae1e1504f..70a8cf9b4 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -9,7 +9,6 @@ For each request type, define the following:
package rpc
import (
- "fmt"
"math/big"
"strings"
"sync"
@@ -23,7 +22,6 @@ import (
"github.com/ethereum/go-ethereum/event"
"github.com/ethereum/go-ethereum/event/filter"
"github.com/ethereum/go-ethereum/state"
- "github.com/ethereum/go-ethereum/ui"
"github.com/ethereum/go-ethereum/xeth"
)
@@ -721,14 +719,3 @@ func (self *EthereumApi) useState(statedb *state.StateDB) {
self.eth = self.eth.UseState(statedb)
}
-
-func t(f ui.Frontend) {
- // Call the password dialog
- ret, err := f.Call("PasswordDialog")
- if err != nil {
- fmt.Println(err)
- }
- // Get the first argument
- t, _ := ret.Get(0)
- fmt.Println("return:", t)
-}