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@byzantine-lab.io>2019-06-12 17:27:19 +0800
commit5791965d8af0b1d8d30ae7232879d063cb5cd8f0 (patch)
tree37c6a697c4b5b82eb119f5fa65748bd2765ec03b /dex/config.go
parent4c520e06a04c0b734dcc703dd007bb89cfb15a9d (diff)
downloadgo-tangerine-5791965d8af0b1d8d30ae7232879d063cb5cd8f0.tar
go-tangerine-5791965d8af0b1d8d30ae7232879d063cb5cd8f0.tar.gz
go-tangerine-5791965d8af0b1d8d30ae7232879d063cb5cd8f0.tar.bz2
go-tangerine-5791965d8af0b1d8d30ae7232879d063cb5cd8f0.tar.lz
go-tangerine-5791965d8af0b1d8d30ae7232879d063cb5cd8f0.tar.xz
go-tangerine-5791965d8af0b1d8d30ae7232879d063cb5cd8f0.tar.zst
go-tangerine-5791965d8af0b1d8d30ae7232879d063cb5cd8f0.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 b6ce76992..924e18d53 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