blockchainer: drop Policer interface
We never use it as a proper interface, so it makes no sense keeping it this way.
This commit is contained in:
parent
fcbb0aacc2
commit
c942402957
15 changed files with 20 additions and 39 deletions
|
@ -236,7 +236,7 @@ func addSystemFee(bc blockchainer.Blockchainer, tx *transaction.Transaction, sys
|
|||
}
|
||||
|
||||
func addNetworkFee(bc blockchainer.Blockchainer, tx *transaction.Transaction, signers ...Signer) {
|
||||
baseFee := bc.GetPolicer().GetBaseExecFee()
|
||||
baseFee := bc.GetBaseExecFee()
|
||||
size := io.GetVarSize(tx)
|
||||
for _, sgr := range signers {
|
||||
netFee, sizeDelta := fee.Calculate(baseFee, sgr.Script())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue