forked from cerc-io/laconicd-deprecated
nosec G705
This commit is contained in:
@@ -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++
|
||||
|
||||
@@ -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++
|
||||
|
||||
Reference in New Issue
Block a user