use of com.hederahashgraph.fee.SigValueObj in project hedera-services by hashgraph.
the class FeeCalculator method metricsFor.
private FeeData metricsFor(Transaction txn, int numPayerSigs, ActivityMetrics metricsCalculator) throws Throwable {
SigValueObj sigUsage = sigUsageGiven(txn, numPayerSigs);
TransactionBody body = CommonUtils.extractTransactionBody(txn);
return metricsCalculator.compute(body, sigUsage);
}
Aggregations