aboutsummaryrefslogtreecommitdiffstats
path: root/dex/helper_test.go
diff options
context:
space:
mode:
authorSonic <sonic@cobinhood.com>2018-10-12 15:02:33 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 13:49:52 +0800
commit44ab6fe3351602707431369f9b3f2d5c845b5e8f (patch)
tree8cc5853f62ca41aa9cbc23bb28e6561ad7e4fc5b /dex/helper_test.go
parentb12ac4fda0c31d037a070ec3841c639f0bd48c16 (diff)
downloaddexon-44ab6fe3351602707431369f9b3f2d5c845b5e8f.tar
dexon-44ab6fe3351602707431369f9b3f2d5c845b5e8f.tar.gz
dexon-44ab6fe3351602707431369f9b3f2d5c845b5e8f.tar.bz2
dexon-44ab6fe3351602707431369f9b3f2d5c845b5e8f.tar.lz
dexon-44ab6fe3351602707431369f9b3f2d5c845b5e8f.tar.xz
dexon-44ab6fe3351602707431369f9b3f2d5c845b5e8f.tar.zst
dexon-44ab6fe3351602707431369f9b3f2d5c845b5e8f.zip
dex: network: implement the network interface
Diffstat (limited to 'dex/helper_test.go')
-rw-r--r--dex/helper_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dex/helper_test.go b/dex/helper_test.go
index dcda6f4d2..fc8053774 100644
--- a/dex/helper_test.go
+++ b/dex/helper_test.go
@@ -101,7 +101,7 @@ func newTestProtocolManager(mode downloader.SyncMode, blocks int, generator func
db = ethdb.NewMemDatabase()
gspec = &core.Genesis{
Config: params.TestChainConfig,
- Alloc: core.GenesisAlloc{testBank: {Balance: big.NewInt(1000000)}},
+ Alloc: core.GenesisAlloc{testBank: {Balance: big.NewInt(1000000), Staked: big.NewInt(0)}},
}
genesis = gspec.MustCommit(db)
blockchain, _ = core.NewBlockChain(db, nil, gspec.Config, engine, vm.Config{})