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>2019-04-09 13:49:58 +0800
commit6d9ad7cfd8e572b0848a6e7903303e3607d2b274 (patch)
tree6fa68213b0fb266bcc693ce3f2facda1287eed59 /dex/config.go
parentbb90ca4bdf02ed504b0f76bb812281c8fb52debb (diff)
downloaddexon-6d9ad7cfd8e572b0848a6e7903303e3607d2b274.tar
dexon-6d9ad7cfd8e572b0848a6e7903303e3607d2b274.tar.gz
dexon-6d9ad7cfd8e572b0848a6e7903303e3607d2b274.tar.bz2
dexon-6d9ad7cfd8e572b0848a6e7903303e3607d2b274.tar.lz
dexon-6d9ad7cfd8e572b0848a6e7903303e3607d2b274.tar.xz
dexon-6d9ad7cfd8e572b0848a6e7903303e3607d2b274.tar.zst
dexon-6d9ad7cfd8e572b0848a6e7903303e3607d2b274.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