diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-08-31 11:09:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-31 11:09:03 +0800 |
commit | 123a7ee3bcf96c5bbef2ea16737d1a8e25f5ef30 (patch) | |
tree | 004a0ff30da7095fa354de2ecc6f0ddf7758ee45 /integration_test/validator.go | |
parent | 96554a3bc14030e5d0dfc9dc1ee6bcdd9a133fa8 (diff) | |
download | dexon-consensus-123a7ee3bcf96c5bbef2ea16737d1a8e25f5ef30.tar dexon-consensus-123a7ee3bcf96c5bbef2ea16737d1a8e25f5ef30.tar.gz dexon-consensus-123a7ee3bcf96c5bbef2ea16737d1a8e25f5ef30.tar.bz2 dexon-consensus-123a7ee3bcf96c5bbef2ea16737d1a8e25f5ef30.tar.lz dexon-consensus-123a7ee3bcf96c5bbef2ea16737d1a8e25f5ef30.tar.xz dexon-consensus-123a7ee3bcf96c5bbef2ea16737d1a8e25f5ef30.tar.zst dexon-consensus-123a7ee3bcf96c5bbef2ea16737d1a8e25f5ef30.zip |
Use Network in Consensus core (#85)
Diffstat (limited to 'integration_test/validator.go')
-rw-r--r-- | integration_test/validator.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integration_test/validator.go b/integration_test/validator.go index 60c6b1f..53f9456 100644 --- a/integration_test/validator.go +++ b/integration_test/validator.go @@ -102,7 +102,7 @@ func NewValidator( networkLatency: networkLatency, proposingLatency: proposingLatency, cons: core.NewConsensus( - app, gov, db, privateKey, eth.SigToPub), + app, gov, db, &Network{}, time.NewTicker(1), privateKey, eth.SigToPub), } } |