aboutsummaryrefslogtreecommitdiffstats
path: root/dex
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2019-04-06 11:59:31 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:59 +0800
commita549601f95ae642f66612ac4566c4dcbeb8e815f (patch)
tree51b5e0830ac1a50ceda25e995f4520b73199ebe0 /dex
parent552282d50681b3d929cb804f41ba1c1cc6fbbdae (diff)
downloaddexon-a549601f95ae642f66612ac4566c4dcbeb8e815f.tar.gz
dexon-a549601f95ae642f66612ac4566c4dcbeb8e815f.tar.zst
dexon-a549601f95ae642f66612ac4566c4dcbeb8e815f.zip
core: update mainnet and testnet config and genesis alloc (#337)
Diffstat (limited to 'dex')
-rw-r--r--dex/app_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/dex/app_test.go b/dex/app_test.go
index 652aaa0b2..a62d9001f 100644
--- a/dex/app_test.go
+++ b/dex/app_test.go
@@ -2161,6 +2161,7 @@ func (f *TxFactory) Run() {
blockchain := f.App.(*DexconApp).blockchain
txPool := f.App.(*DexconApp).txPool
for {
+ gasPrice := f.App.(*DexconApp).gov.GetHeadState().MinGasPrice()
for i, key := range f.keys {
go func(at int, nonce uint64, key *ecdsa.PrivateKey) {
f.stopTimeMu.RLock()
@@ -2174,7 +2175,7 @@ func (f *TxFactory) Run() {
crypto.PubkeyToAddress(f.keys[i].PublicKey),
big.NewInt(1),
21000,
- big.NewInt(1e9),
+ gasPrice,
[]byte{})
signer := types.NewEIP155Signer(blockchain.Config().ChainID)