Skip to content

Commit

Permalink
core: adjust parameters of unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
kilgore committed May 25, 2022
1 parent e082fbe commit 745559a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/types/transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ func TestTransactionPriceNonceSort(t *testing.T) {
// to prevent network spam attacks and to make the transaction sorting traceable
func TestTransactionHashSort(t *testing.T) {
// Generate a batch of accounts to start with
keys := make([]*ecdsa.PrivateKey, 10)
keys := make([]*ecdsa.PrivateKey, 5)
for i := 0; i < len(keys); i++ {
keys[i], _ = crypto.GenerateKey()
}
Expand Down

0 comments on commit 745559a

Please sign in to comment.