forked from cerc-io/laconicd-deprecated
nosec G705
This commit is contained in:
@@ -32,13 +32,11 @@ import (
|
||||
"github.com/ethereum/go-ethereum/crypto"
|
||||
)
|
||||
|
||||
// #nosec 101
|
||||
const (
|
||||
/* #nosec */
|
||||
OpWeightMsgEthSimpleTransfer = "op_weight_msg_eth_simple_transfer"
|
||||
/* #nosec */
|
||||
OpWeightMsgEthCreateContract = "op_weight_msg_eth_create_contract"
|
||||
/* #nosec */
|
||||
OpWeightMsgEthCallContract = "op_weight_msg_eth_call_contract"
|
||||
OpWeightMsgEthCallContract = "op_weight_msg_eth_call_contract"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -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