From b67180c84d3a308db818892d21593886b53b2afe Mon Sep 17 00:00:00 2001 From: Simon Noetzlin Date: Tue, 19 Sep 2023 16:27:02 +0200 Subject: [PATCH] nits --- tests/e2e/e2e_exec_test.go | 4 ++-- tests/e2e/e2e_staking_test.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/e2e/e2e_exec_test.go b/tests/e2e/e2e_exec_test.go index aa7b6fec5e1..b62ecafce67 100644 --- a/tests/e2e/e2e_exec_test.go +++ b/tests/e2e/e2e_exec_test.go @@ -494,7 +494,7 @@ func (s *IntegrationTestSuite) executeDelegate(c *chain, valIdx int, amount, val s.T().Logf("%s successfully delegated %s to %s", delegatorAddr, amount, valOperAddress) } -func (s *IntegrationTestSuite) execUnbondDelegation(c *chain, valIdx int, amount, valOperAddress, delegatorAddr, home, delegateFees string) { //nolint:unparam +func (s *IntegrationTestSuite) execUnbondDelegation(c *chain, valIdx int, amount, valOperAddress, delegatorAddr, home, delegateFees string) { ctx, cancel := context.WithTimeout(context.Background(), time.Minute) defer cancel() @@ -520,7 +520,7 @@ func (s *IntegrationTestSuite) execUnbondDelegation(c *chain, valIdx int, amount s.T().Logf("%s successfully undelegated %s to %s", delegatorAddr, amount, valOperAddress) } -func (s *IntegrationTestSuite) executeCancelUnbondingDelegation(c *chain, valIdx int, amount, valOperAddress, creationHeight, delegatorAddr, home, delegateFees string) { //nolint:unparam +func (s *IntegrationTestSuite) execCancelUnbondingDelegation(c *chain, valIdx int, amount, valOperAddress, creationHeight, delegatorAddr, home, delegateFees string) { ctx, cancel := context.WithTimeout(context.Background(), time.Minute) defer cancel() diff --git a/tests/e2e/e2e_staking_test.go b/tests/e2e/e2e_staking_test.go index 7bcdbcedb68..aef20268d7f 100644 --- a/tests/e2e/e2e_staking_test.go +++ b/tests/e2e/e2e_staking_test.go @@ -107,7 +107,7 @@ func (s *IntegrationTestSuite) testStaking() { ) // cancel the full amount of unbonding delegations from Validator A - s.executeCancelUnbondingDelegation( + s.execCancelUnbondingDelegation( s.chainA, 0, currDelegation.String(),