diff options
author | Matthew Halpern <matthalp@google.com> | 2019-02-15 03:14:05 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2019-02-15 03:14:05 +0800 |
commit | 2b75fa9d6142441c19b524890f9f3c87a0de4091 (patch) | |
tree | dd43724305810e06a99bb9c4bb006b1a3ed1aaf8 /core | |
parent | 2af24724dd5f3ab1994001854eb32c6a19f9f64a (diff) | |
download | go-tangerine-2b75fa9d6142441c19b524890f9f3c87a0de4091.tar go-tangerine-2b75fa9d6142441c19b524890f9f3c87a0de4091.tar.gz go-tangerine-2b75fa9d6142441c19b524890f9f3c87a0de4091.tar.bz2 go-tangerine-2b75fa9d6142441c19b524890f9f3c87a0de4091.tar.lz go-tangerine-2b75fa9d6142441c19b524890f9f3c87a0de4091.tar.xz go-tangerine-2b75fa9d6142441c19b524890f9f3c87a0de4091.tar.zst go-tangerine-2b75fa9d6142441c19b524890f9f3c87a0de4091.zip |
core: enforce camel case variable names (#19058)
Diffstat (limited to 'core')
-rw-r--r-- | core/tx_pool_test.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/tx_pool_test.go b/core/tx_pool_test.go index 6d3bd7a5a..7177ae9ce 100644 --- a/core/tx_pool_test.go +++ b/core/tx_pool_test.go @@ -1274,14 +1274,14 @@ func TestTransactionPoolRepricingKeepsLocals(t *testing.T) { } // Create transaction (both pending and queued) with a linearly growing gasprice for i := uint64(0); i < 500; i++ { - // Add pending - p_tx := pricedTransaction(i, 100000, big.NewInt(int64(i)), keys[2]) - if err := pool.AddLocal(p_tx); err != nil { + // Add pending transaction. + pendingTx := pricedTransaction(i, 100000, big.NewInt(int64(i)), keys[2]) + if err := pool.AddLocal(pendingTx); err != nil { t.Fatal(err) } - // Add queued - q_tx := pricedTransaction(i+501, 100000, big.NewInt(int64(i)), keys[2]) - if err := pool.AddLocal(q_tx); err != nil { + // Add queued transaction. + queuedTx := pricedTransaction(i+501, 100000, big.NewInt(int64(i)), keys[2]) + if err := pool.AddLocal(queuedTx); err != nil { t.Fatal(err) } } |