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-03-12 12:19:09 +0800
commit961231f91fc4c7edc122ccdf337d804a885b1f6b (patch)
tree4de8ac71927a013dedb65a7be91770c1a3fc97bb /dex/helper_test.go
parentf4936aa1eb7fa01f56c28f081af266c2a4924a61 (diff)
downloaddexon-961231f91fc4c7edc122ccdf337d804a885b1f6b.tar.gz
dexon-961231f91fc4c7edc122ccdf337d804a885b1f6b.tar.zst
dexon-961231f91fc4c7edc122ccdf337d804a885b1f6b.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{})