aboutsummaryrefslogtreecommitdiffstats
path: root/dex
diff options
context:
space:
mode:
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)