diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-04-06 11:59:31 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 13:50:06 +0800 |
commit | 52412c7ed6d279eefb91f4f44680c1a156cd9e7f (patch) | |
tree | 05378d285fe05e8d3eebc608a2217f26ff5a7426 /dex | |
parent | 206900aa9d13ba2057cbc5379bef4dcfd1ee0ef4 (diff) | |
download | dexon-52412c7ed6d279eefb91f4f44680c1a156cd9e7f.tar dexon-52412c7ed6d279eefb91f4f44680c1a156cd9e7f.tar.gz dexon-52412c7ed6d279eefb91f4f44680c1a156cd9e7f.tar.bz2 dexon-52412c7ed6d279eefb91f4f44680c1a156cd9e7f.tar.lz dexon-52412c7ed6d279eefb91f4f44680c1a156cd9e7f.tar.xz dexon-52412c7ed6d279eefb91f4f44680c1a156cd9e7f.tar.zst dexon-52412c7ed6d279eefb91f4f44680c1a156cd9e7f.zip |
core: update mainnet and testnet config and genesis alloc (#337)
Diffstat (limited to 'dex')
-rw-r--r-- | dex/app_test.go | 3 |
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) |