refactor: remove obsoleted function (#29964)
refactor: remove obsolated function
This commit is contained in:
parent
ac7d0ff633
commit
7ef720b76d
|
@ -74,15 +74,11 @@ impl TransactionCost {
|
|||
}
|
||||
|
||||
pub fn sum(&self) -> u64 {
|
||||
self.sum_without_bpf()
|
||||
.saturating_add(self.bpf_execution_cost)
|
||||
}
|
||||
|
||||
pub fn sum_without_bpf(&self) -> u64 {
|
||||
self.signature_cost
|
||||
.saturating_add(self.write_lock_cost)
|
||||
.saturating_add(self.data_bytes_cost)
|
||||
.saturating_add(self.builtins_execution_cost)
|
||||
.saturating_add(self.bpf_execution_cost)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue