aboutsummaryrefslogtreecommitdiffstats
path: root/eth/protocol_test.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2015-03-18 15:44:58 +0800
committerzelig <viktor.tron@gmail.com>2015-03-18 15:44:58 +0800
commitb6aa88c099c16b38f0aebc749f7c95170426f787 (patch)
treee6f47c8e858add8e5d42a6452730e4771b336c4c /eth/protocol_test.go
parent7dbbe1bedce449edfdc54da1af05d3f50606856a (diff)
downloadgo-tangerine-b6aa88c099c16b38f0aebc749f7c95170426f787.tar
go-tangerine-b6aa88c099c16b38f0aebc749f7c95170426f787.tar.gz
go-tangerine-b6aa88c099c16b38f0aebc749f7c95170426f787.tar.bz2
go-tangerine-b6aa88c099c16b38f0aebc749f7c95170426f787.tar.lz
go-tangerine-b6aa88c099c16b38f0aebc749f7c95170426f787.tar.xz
go-tangerine-b6aa88c099c16b38f0aebc749f7c95170426f787.tar.zst
go-tangerine-b6aa88c099c16b38f0aebc749f7c95170426f787.zip
private network support
- protocolversion, networkid global int flags to cli and mist - fix bug with protocolversion check using wrong db - log protocolversion & networkid in backend
Diffstat (limited to 'eth/protocol_test.go')
-rw-r--r--eth/protocol_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/eth/protocol_test.go b/eth/protocol_test.go
index a2b59f117..4bed71663 100644
--- a/eth/protocol_test.go
+++ b/eth/protocol_test.go
@@ -9,10 +9,10 @@ import (
"testing"
"time"
+ "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/errs"
- "github.com/ethereum/go-ethereum/common"
ethlogger "github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/p2p"
"github.com/ethereum/go-ethereum/p2p/discover"
@@ -235,8 +235,8 @@ func TestStatusMsgErrors(t *testing.T) {
var status statusMsgData
eth.checkMsg(0, StatusMsg, &status) // first outgoing msg should be StatusMsg
if status.TD.Cmp(td) != 0 ||
- status.ProtocolVersion != ProtocolVersion ||
- status.NetworkId != NetworkId ||
+ status.ProtocolVersion != eth.ProtocolVersion ||
+ status.NetworkId != eth.NetworkId ||
status.TD.Cmp(td) != 0 ||
bytes.Compare(status.CurrentBlock, currentBlock) != 0 ||
bytes.Compare(status.GenesisBlock, genesis) != 0 {