fee/gas.go
Function GasLimit
has 5 return statements (exceeds 4 allowed). Open
Open
func GasLimit(version int32, isFeeDelegation bool, txGasLimit uint64, payloadSize int, gasPrice, usedFee, senderBalance, receiverBalance *big.Int) (gasLimit uint64, err error) {
// 1. no gas limit
if GasEnabled(version) != true {
return
}