diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-04-06 11:59:31 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-15 22:09:55 +0800 |
commit | bd199cbed939f7cb9e14b501d520f762a2e82fff (patch) | |
tree | e5180a56dfa55d538c84d5647956c6eae117d331 /dex | |
parent | 92929a98dfd662f860feefe76ff824fdf9ce76a3 (diff) | |
download | go-tangerine-bd199cbed939f7cb9e14b501d520f762a2e82fff.tar go-tangerine-bd199cbed939f7cb9e14b501d520f762a2e82fff.tar.gz go-tangerine-bd199cbed939f7cb9e14b501d520f762a2e82fff.tar.bz2 go-tangerine-bd199cbed939f7cb9e14b501d520f762a2e82fff.tar.lz go-tangerine-bd199cbed939f7cb9e14b501d520f762a2e82fff.tar.xz go-tangerine-bd199cbed939f7cb9e14b501d520f762a2e82fff.tar.zst go-tangerine-bd199cbed939f7cb9e14b501d520f762a2e82fff.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) |