mirror of https://github.com/poanetwork/quorum.git
permission: removed unused code
This commit is contained in:
parent
0605495bef
commit
afb61f089c
|
@ -82,9 +82,6 @@ var (
|
|||
// ErrEtherValueUnsupported is returned if a transaction specifies an Ether Value
|
||||
// for a private Quorum transaction.
|
||||
ErrEtherValueUnsupported = errors.New("ether value is not supported for private transactions")
|
||||
// ErrUnahorizedAccount is returned if the sender account is not authorized by the
|
||||
// permissions module
|
||||
ErrUnAuthorizedAccount = errors.New("Account not authorized for this operation")
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -80,7 +80,6 @@ const (
|
|||
TxDataNonZeroGas uint64 = 68 // Per byte of data attached to a transaction that is not equal to zero. NOTE: Not payable on data of calls between transactions.
|
||||
|
||||
MaxCodeSize = 24576 // Maximum bytecode to permit for a contract
|
||||
QuorumMaxCodeSize = 32768 // Maximum bytecode to permit for a contract
|
||||
|
||||
// Precompiled contract gas prices
|
||||
|
||||
|
@ -113,10 +112,3 @@ func GetMaximumExtraDataSize(isQuorum bool) uint64 {
|
|||
return MaximumExtraDataSize
|
||||
}
|
||||
}
|
||||
|
||||
func GetMaxCodeSize(isQuorum bool) int {
|
||||
if isQuorum {
|
||||
return QuorumMaxCodeSize
|
||||
}
|
||||
return MaxCodeSize
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue