mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-30 09:33:36 +00:00
core: fix comments formatting
This commit is contained in:
parent
5770a581c3
commit
7d5b20d8dd
2 changed files with 2 additions and 2 deletions
|
@ -2106,7 +2106,7 @@ func (bc *Blockchain) PoolTxWithData(t *transaction.Transaction, data interface{
|
||||||
return bc.verifyAndPoolTx(t, mp, feer, data)
|
return bc.verifyAndPoolTx(t, mp, feer, data)
|
||||||
}
|
}
|
||||||
|
|
||||||
//GetStandByValidators returns validators from the configuration.
|
// GetStandByValidators returns validators from the configuration.
|
||||||
func (bc *Blockchain) GetStandByValidators() keys.PublicKeys {
|
func (bc *Blockchain) GetStandByValidators() keys.PublicKeys {
|
||||||
return bc.sbCommittee[:bc.config.ValidatorsCount].Copy()
|
return bc.sbCommittee[:bc.config.ValidatorsCount].Copy()
|
||||||
}
|
}
|
||||||
|
|
|
@ -1051,7 +1051,7 @@ func TestVerifyTx(t *testing.T) {
|
||||||
netFee, sizeDelta := fee.Calculate(bc.GetBaseExecFee(), testchain.MultisigVerificationScript())
|
netFee, sizeDelta := fee.Calculate(bc.GetBaseExecFee(), testchain.MultisigVerificationScript())
|
||||||
tx.NetworkFee = netFee + // multisig witness verification price
|
tx.NetworkFee = netFee + // multisig witness verification price
|
||||||
int64(size)*bc.FeePerByte() + // fee for unsigned size
|
int64(size)*bc.FeePerByte() + // fee for unsigned size
|
||||||
int64(sizeDelta)*bc.FeePerByte() + //fee for multisig size
|
int64(sizeDelta)*bc.FeePerByte() + // fee for multisig size
|
||||||
66*bc.FeePerByte() + // fee for Notary signature size (66 bytes for Invocation script and 0 bytes for Verification script)
|
66*bc.FeePerByte() + // fee for Notary signature size (66 bytes for Invocation script and 0 bytes for Verification script)
|
||||||
2*bc.FeePerByte() + // fee for the length of each script in Notary witness (they are nil, so we did not take them into account during `size` calculation)
|
2*bc.FeePerByte() + // fee for the length of each script in Notary witness (they are nil, so we did not take them into account during `size` calculation)
|
||||||
transaction.NotaryServiceFeePerKey + // fee for Notary attribute
|
transaction.NotaryServiceFeePerKey + // fee for Notary attribute
|
||||||
|
|
Loading…
Reference in a new issue