aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/ethereum/main.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-11-19 02:52:45 +0800
committerobscuren <geffobscura@gmail.com>2014-11-19 02:52:45 +0800
commit93e693be72e1a7734e826016316434c1e2320de9 (patch)
tree2acf4eed441ca7aff4d40e13a0c81e26070756c0 /cmd/ethereum/main.go
parent675ba4d7eb7ab96fa74b803085f042a25f8d8d42 (diff)
downloaddexon-93e693be72e1a7734e826016316434c1e2320de9.tar
dexon-93e693be72e1a7734e826016316434c1e2320de9.tar.gz
dexon-93e693be72e1a7734e826016316434c1e2320de9.tar.bz2
dexon-93e693be72e1a7734e826016316434c1e2320de9.tar.lz
dexon-93e693be72e1a7734e826016316434c1e2320de9.tar.xz
dexon-93e693be72e1a7734e826016316434c1e2320de9.tar.zst
dexon-93e693be72e1a7734e826016316434c1e2320de9.zip
Fixed tests for 'types'
Diffstat (limited to 'cmd/ethereum/main.go')
-rw-r--r--cmd/ethereum/main.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd/ethereum/main.go b/cmd/ethereum/main.go
index c894a8f85..aa933c4e7 100644
--- a/cmd/ethereum/main.go
+++ b/cmd/ethereum/main.go
@@ -21,8 +21,7 @@ import (
"fmt"
"os"
"runtime"
-
- "github.com/ethereum/go-ethereum/chain"
+ "github.com/ethereum/go-ethereum/chain/types"
"github.com/ethereum/go-ethereum/cmd/utils"
"github.com/ethereum/go-ethereum/ethutil"
"github.com/ethereum/go-ethereum/logger"
@@ -74,7 +73,7 @@ func main() {
ethereum := utils.NewEthereum(db, clientIdentity, keyManager, UseUPnP, OutboundPort, MaxPeer)
if Dump {
- var block *chain.Block
+ var block *types.Block
if len(DumpHash) == 0 && DumpNumber == -1 {
block = ethereum.ChainManager().CurrentBlock