aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/main.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-15 20:00:09 +0800
committerobscuren <geffobscura@gmail.com>2014-12-15 20:00:29 +0800
commit56dac74f71d4d1fffa3e240c7d3cee803dec788d (patch)
tree50ad3adbb32c6cea0e74a69a313d39dc54b4188b /cmd/mist/main.go
parentc7bc684909ab3d135d25a718d5ff2c725816e0fc (diff)
downloadgo-tangerine-56dac74f71d4d1fffa3e240c7d3cee803dec788d.tar
go-tangerine-56dac74f71d4d1fffa3e240c7d3cee803dec788d.tar.gz
go-tangerine-56dac74f71d4d1fffa3e240c7d3cee803dec788d.tar.bz2
go-tangerine-56dac74f71d4d1fffa3e240c7d3cee803dec788d.tar.lz
go-tangerine-56dac74f71d4d1fffa3e240c7d3cee803dec788d.tar.xz
go-tangerine-56dac74f71d4d1fffa3e240c7d3cee803dec788d.tar.zst
go-tangerine-56dac74f71d4d1fffa3e240c7d3cee803dec788d.zip
made mist in a compilable, workable state using the new refactored packages
Diffstat (limited to 'cmd/mist/main.go')
-rw-r--r--cmd/mist/main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/mist/main.go b/cmd/mist/main.go
index 14336b4e8..1c0af5d8c 100644
--- a/cmd/mist/main.go
+++ b/cmd/mist/main.go
@@ -23,8 +23,8 @@ import (
"runtime"
"time"
- "github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/cmd/utils"
+ "github.com/ethereum/go-ethereum/eth"
"github.com/ethereum/go-ethereum/logger"
"gopkg.in/qml.v1"
)
@@ -58,8 +58,8 @@ func run() error {
// create, import, export keys
utils.KeyTasks(keyManager, KeyRing, GenAddr, SecretFile, ExportDir, NonInteractive)
- clientIdentity := utils.NewClientIdentity(ClientIdentifier, Version, Identifier)
- ethereum = utils.NewEthereum(db, clientIdentity, keyManager, UseUPnP, OutboundPort, MaxPeer)
+ clientIdentity := utils.NewClientIdentity(ClientIdentifier, Version, Identifier, string(keyManager.PublicKey()))
+ ethereum := utils.NewEthereum(db, clientIdentity, keyManager, utils.NatType(NatType, PMPGateway), OutboundPort, MaxPeer)
if ShowGenesis {
utils.ShowGenesis(ethereum)