use of com.hederahashgraph.api.proto.java.FeeSchedule in project hedera-services by hashgraph.
the class FeeCalculator method init.
public void init() {
if (setup.useFixedFee()) {
usingFixedFee = true;
fixedFee = setup.fixedFee();
return;
}
FeeSchedule feeSchedule = provider.currentSchedule();
feeSchedule.getTransactionFeeScheduleList().forEach(f -> {
opFeeData.put(f.getHederaFunctionality(), feesListToMap(f.getFeesList()));
});
tokenTransferUsageMultiplier = setup.feesTokenTransferUsageMultiplier();
}
Aggregations