Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Linter errors #4008

Merged
merged 2 commits into from
Apr 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion integrationTests/vm/delegation/liquidStaking_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func TestDelegationSystemSCWithLiquidStaking(t *testing.T) {
}
time.Sleep(time.Second)
finalWait := 20
nonce, round = integrationTests.WaitOperationToBeDone(t, nodes, finalWait, nonce, round, idxProposers)
_, _ = integrationTests.WaitOperationToBeDone(t, nodes, finalWait, nonce, round, idxProposers)
time.Sleep(time.Second)

for _, node := range nodes {
Expand Down
1 change: 1 addition & 0 deletions state/validatorsInfoMap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ func TestShardValidatorsInfoMap_GettersShouldReturnCopiesOfInternalData(t *testi

require.Equal(t, []ValidatorInfoHandler{v0}, vi.GetShardValidatorsInfoMap()[0])
require.Equal(t, []ValidatorInfoHandler{v1}, vi.GetShardValidatorsInfoMap()[1])
require.NotEqual(t, vi.GetAllValidatorsInfo(), validators)
}

func TestShardValidatorsInfoMap_Concurrency(t *testing.T) {
Expand Down
1 change: 0 additions & 1 deletion vm/mock/systemEIStub.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ func (s *SystemEIStub) Transfer(destination []byte, sender []byte, value *big.In
if s.TransferCalled != nil {
s.TransferCalled(destination, sender, value, input, gasLimit)
}
return
}

// GetBalance -
Expand Down
1 change: 0 additions & 1 deletion vm/systemSmartContracts/liquidStaking.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const attributesNoncePrefix = "a"

type liquidStaking struct {
eei vm.SystemEI
sigVerifier vm.MessageSignVerifier
liquidStakingSCAddress []byte
gasCost vm.GasCost
marshalizer marshal.Marshalizer
Expand Down