nosec G705

This commit is contained in:
0xmuralik
2022-10-18 12:14:29 +05:30
parent 906ec2a06c
commit 670dc398e4
13 changed files with 16 additions and 11 deletions
+1
View File
@@ -53,6 +53,7 @@ func newJournal() *journal {
func (j *journal) sortedDirties() []common.Address {
keys := make([]common.Address, len(j.dirties))
i := 0
// #nosec G705
for k := range j.dirties {
keys[i] = k
i++
+1
View File
@@ -39,6 +39,7 @@ type Storage map[common.Hash]common.Hash
func (s Storage) SortedKeys() []common.Hash {
keys := make([]common.Hash, len(s))
i := 0
// #nosec G705
for k := range s {
keys[i] = k
i++