From a549601f95ae642f66612ac4566c4dcbeb8e815f Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Sat, 6 Apr 2019 11:59:31 +0800 Subject: core: update mainnet and testnet config and genesis alloc (#337) --- dex/app_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dex') 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) -- cgit v1.2.3