mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 09:29:38 +00:00
core: don't copy config in ApplyPolicyToTxSet
Makes no sense, GetConfig() is for external users.
This commit is contained in:
parent
701a3a728a
commit
1853d0c713
1 changed files with 2 additions and 2 deletions
|
@ -1400,8 +1400,8 @@ func (bc *Blockchain) ApplyPolicyToTxSet(txes []*transaction.Transaction) []*tra
|
|||
if maxTx != 0 && len(txes) > int(maxTx) {
|
||||
txes = txes[:maxTx]
|
||||
}
|
||||
maxBlockSize := bc.GetConfig().MaxBlockSize
|
||||
maxBlockSysFee := bc.GetConfig().MaxBlockSystemFee
|
||||
maxBlockSize := bc.config.MaxBlockSize
|
||||
maxBlockSysFee := bc.config.MaxBlockSystemFee
|
||||
defaultWitness := bc.defaultBlockWitness.Load()
|
||||
if defaultWitness == nil {
|
||||
m := smartcontract.GetDefaultHonestNodeCount(bc.config.ValidatorsCount)
|
||||
|
|
Loading…
Reference in a new issue