aboutsummaryrefslogtreecommitdiffstats
path: root/dex/config.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-15 13:29:48 +0800
committerWei-Ning Huang <w@dexon.org>2018-12-19 20:54:27 +0800
commit3739c30a78860421f8db52a58f1644eeeaf7fe4c (patch)
treef32a6418e27ebf3cc983576db78482010760444c /dex/config.go
parent9d6136f800d76956c424449185a39c936f8284be (diff)
downloaddexon-3739c30a78860421f8db52a58f1644eeeaf7fe4c.tar
dexon-3739c30a78860421f8db52a58f1644eeeaf7fe4c.tar.gz
dexon-3739c30a78860421f8db52a58f1644eeeaf7fe4c.tar.bz2
dexon-3739c30a78860421f8db52a58f1644eeeaf7fe4c.tar.lz
dexon-3739c30a78860421f8db52a58f1644eeeaf7fe4c.tar.xz
dexon-3739c30a78860421f8db52a58f1644eeeaf7fe4c.tar.zst
dexon-3739c30a78860421f8db52a58f1644eeeaf7fe4c.zip
core: fix tests
Diffstat (limited to 'dex/config.go')
-rw-r--r--dex/config.go8
1 files changed, 1 insertions, 7 deletions
diff --git a/dex/config.go b/dex/config.go
index 4505ff59c..5fa7d87e8 100644
--- a/dex/config.go
+++ b/dex/config.go
@@ -48,9 +48,6 @@ var DefaultConfig = Config{
},
BlockProposerEnabled: false,
DefaultGasPrice: big.NewInt(params.GWei),
- GasFloor: 80000000,
- GasCeil: 80000000,
- GasLimitTolerance: 1000000,
}
func init() {
@@ -96,10 +93,7 @@ type Config struct {
TrieTimeout time.Duration
// For calculate gas limit
- DefaultGasPrice *big.Int
- GasFloor uint64
- GasCeil uint64
- GasLimitTolerance uint64
+ DefaultGasPrice *big.Int
// Transaction pool options
TxPool core.TxPoolConfig