Commit 2b75fa9d authored by Matthew Halpern's avatar Matthew Halpern Committed by Péter Szilágyi

core: enforce camel case variable names (#19058)

parent 2af24724
...@@ -1274,14 +1274,14 @@ func TestTransactionPoolRepricingKeepsLocals(t *testing.T) { ...@@ -1274,14 +1274,14 @@ func TestTransactionPoolRepricingKeepsLocals(t *testing.T) {
} }
// Create transaction (both pending and queued) with a linearly growing gasprice // Create transaction (both pending and queued) with a linearly growing gasprice
for i := uint64(0); i < 500; i++ { for i := uint64(0); i < 500; i++ {
// Add pending // Add pending transaction.
p_tx := pricedTransaction(i, 100000, big.NewInt(int64(i)), keys[2]) pendingTx := pricedTransaction(i, 100000, big.NewInt(int64(i)), keys[2])
if err := pool.AddLocal(p_tx); err != nil { if err := pool.AddLocal(pendingTx); err != nil {
t.Fatal(err) t.Fatal(err)
} }
// Add queued // Add queued transaction.
q_tx := pricedTransaction(i+501, 100000, big.NewInt(int64(i)), keys[2]) queuedTx := pricedTransaction(i+501, 100000, big.NewInt(int64(i)), keys[2])
if err := pool.AddLocal(q_tx); err != nil { if err := pool.AddLocal(queuedTx); err != nil {
t.Fatal(err) t.Fatal(err)
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment